mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 20:07:01 +05:30
feat(nix): remove Rust from the shell config
I've migrated to rustup
This commit is contained in:
parent
26b0b06759
commit
3846e67e4b
1 changed files with 3 additions and 11 deletions
14
shell.nix
14
shell.nix
|
@ -1,14 +1,6 @@
|
|||
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
(rust-bin.stable.latest.default.override {
|
||||
extensions =
|
||||
[ "rust-src" "rustc-dev" "rustfmt-preview" "llvm-tools-preview" ];
|
||||
targets =
|
||||
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
|
||||
++ pkgs.lib.optionals pkgs.stdenv.isLinux
|
||||
[ "x86_64-unknown-linux-gnu" ];
|
||||
})
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
xorg.libxcb
|
||||
python39
|
||||
] ++ pkgs.lib.optionals stdenv.isDarwin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue