Compare commits
No commits in common. "a5e8ffeb63a193e5b0e020e4c014687e57f85c23" and "b53510c5b74bc8d52e25bcdb517b38fa60f67a67" have entirely different histories.
a5e8ffeb63
...
b53510c5b7
3 changed files with 11 additions and 18 deletions
|
@ -1,3 +0,0 @@
|
||||||
[target.x86_64-unknown-linux-gnu]
|
|
||||||
linker = "clang"
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
@ -48,9 +48,6 @@
|
||||||
pkgsSrc = nixpkgs;
|
pkgsSrc = nixpkgs;
|
||||||
cargo2nixOverlay = cargo2nix.overlays.default;
|
cargo2nixOverlay = cargo2nix.overlays.default;
|
||||||
release = false;
|
release = false;
|
||||||
}).workspaceShell { packages = with pkgs; [
|
}).workspaceShell { packages = [ pkgs.rustfmt ]; };
|
||||||
rustfmt
|
|
||||||
mold
|
|
||||||
]; };
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
21
shell.nix
21
shell.nix
|
@ -15,17 +15,16 @@ in {
|
||||||
# --- Rust Shell ---
|
# --- Rust Shell ---
|
||||||
# Use it to compile Garage
|
# Use it to compile Garage
|
||||||
rust = pkgs.mkShell {
|
rust = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = [
|
||||||
#rustPlatform.rust.rustc
|
#pkgs.rustPlatform.rust.rustc
|
||||||
rustPlatform.rust.cargo
|
pkgs.rustPlatform.rust.cargo
|
||||||
mold
|
#pkgs.clippy
|
||||||
#clippy
|
pkgs.rustfmt
|
||||||
rustfmt
|
#pkgs.perl
|
||||||
#perl
|
#pkgs.protobuf
|
||||||
#protobuf
|
#pkgs.pkg-config
|
||||||
#pkg-config
|
#pkgs.openssl
|
||||||
#openssl
|
pkgs.file
|
||||||
file
|
|
||||||
#cargo2nix.packages.x86_64-linux.cargo2nix
|
#cargo2nix.packages.x86_64-linux.cargo2nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue