mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 21:17:01 +05:30
My global rustflags configuration cause this binary to be incorrectly linked so this workaround prevents the global rustflags from being applied to this build
11 lines
286 B
Nix
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
|
|
];
|
|
}
|