clipboard-substitutor/shell.nix
Harsh Shandilya a357b02712
nix: suppress RUSTFLAGS manipulation
My global rustflags configuration cause this binary to be incorrectly linked
so this workaround prevents the global rustflags from being applied to this
build
2022-01-23 14:35:26 +05:30

11 lines
286 B
Nix

with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
mkShell {
RUSTFLAGS = "";
buildInputs = [
(rust-bin.selectLatestNightlyWith (toolchain:
toolchain.default.override {
extensions = [ "rust-src" "rustfmt-preview" ];
}))
xorg.libxcb
];
}