mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 20:07:01 +05:30
parent
16f35e688f
commit
aa022fe78e
1 changed files with 11 additions and 2 deletions
13
shell.nix
13
shell.nix
|
@ -1,6 +1,15 @@
|
|||
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
||||
mkShell {
|
||||
buildInputs = [ cargo python39 rustc xorg.libxcb ]
|
||||
++ pkgs.lib.optionals stdenv.isDarwin
|
||||
buildInputs = [
|
||||
(rust-bin.stable.latest.default.override {
|
||||
extensions = [ "rust-src" "rustfmt-preview" ];
|
||||
targets =
|
||||
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
|
||||
++ pkgs.lib.optionals pkgs.stdenv.isLinux
|
||||
[ "x86_64-unknown-linux-gnu" ];
|
||||
})
|
||||
xorg.libxcb
|
||||
python39
|
||||
] ++ pkgs.lib.optionals stdenv.isDarwin
|
||||
[ pkgs.darwin.apple_sdk.frameworks.AppKit ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue