mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 20:07:01 +05:30
nix: switch to Rust stable
This commit is contained in:
parent
6a0e029a2f
commit
01af0c6f3f
1 changed files with 7 additions and 8 deletions
15
shell.nix
15
shell.nix
|
@ -1,14 +1,13 @@
|
||||||
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
||||||
mkShell {
|
mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(rust-bin.selectLatestNightlyWith (toolchain:
|
(rust-bin.stable.latest.default.override {
|
||||||
toolchain.default.override {
|
extensions = [ "rust-src" "rustfmt-preview" ];
|
||||||
extensions = [ "rust-src" "rustfmt-preview" "llvm-tools-preview" ];
|
targets =
|
||||||
targets =
|
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
|
||||||
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
|
++ pkgs.lib.optionals pkgs.stdenv.isLinux
|
||||||
++ pkgs.lib.optionals pkgs.stdenv.isLinux
|
[ "x86_64-unknown-linux-gnu" ];
|
||||||
[ "x86_64-unknown-linux-gnu" ];
|
})
|
||||||
}))
|
|
||||||
xorg.libxcb
|
xorg.libxcb
|
||||||
python39
|
python39
|
||||||
] ++ pkgs.lib.optionals stdenv.isDarwin
|
] ++ pkgs.lib.optionals stdenv.isDarwin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue