Move more packages into sets
This commit is contained in:
parent
a3911022e5
commit
07705b4dca
|
@ -136,11 +136,7 @@ in
|
||||||
llvm.clang
|
llvm.clang
|
||||||
llvm.lld
|
llvm.lld
|
||||||
nasm
|
nasm
|
||||||
nixpkgs-fmt
|
|
||||||
nodejs
|
|
||||||
patchelf
|
patchelf
|
||||||
python37Packages.python-language-server
|
|
||||||
rnix-lsp
|
|
||||||
rustup
|
rustup
|
||||||
valgrind
|
valgrind
|
||||||
yarn
|
yarn
|
||||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
||||||
Subproject commit 2075554bdfc0515af6990199514a82bb74ac533f
|
Subproject commit 23bbfd25c49e4eeb2e2127c1dd73c97db330b1ba
|
|
@ -1,15 +1,10 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
{
|
||||||
openocd = if pkgs.stdenv.cc.isGNU then (pkgs.openocd.overrideAttrs ( old: {
|
|
||||||
NIX_CFLAGS_COMPILE = old.NIX_CFLAGS_COMPILE ++ [ "-Wno-error=strict-prototypes" ];
|
|
||||||
})) else pkgs.openocd;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
services.udev.packages = [
|
services.udev.packages = [
|
||||||
(pkgs.callPackage ../externals/rules/adafruit.nix { })
|
(pkgs.callPackage ../externals/rules/adafruit.nix { })
|
||||||
(pkgs.callPackage ../externals/rules/limesuite.nix { })
|
(pkgs.callPackage ../externals/rules/limesuite.nix { })
|
||||||
openocd
|
pkgs.openocd
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -23,4 +18,4 @@ in
|
||||||
users.artemis.extraGroups = [ "plugdev" "dialout" ];
|
users.artemis.extraGroups = [ "plugdev" "dialout" ];
|
||||||
extraGroups.plugdev = {};
|
extraGroups.plugdev = {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,4 +26,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nixpkgs-fmt
|
||||||
|
nodejs
|
||||||
|
python3Packages.python-language-server
|
||||||
|
rnix-lsp
|
||||||
|
rust-analyzer
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue