Move more packages into sets

This commit is contained in:
Artemis Tosini 2020-11-22 21:26:28 +00:00
parent a3911022e5
commit 07705b4dca
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
4 changed files with 26 additions and 27 deletions

View file

@ -136,11 +136,7 @@ in
llvm.clang
llvm.lld
nasm
nixpkgs-fmt
nodejs
patchelf
python37Packages.python-language-server
rnix-lsp
rustup
valgrind
yarn

@ -1 +1 @@
Subproject commit 2075554bdfc0515af6990199514a82bb74ac533f
Subproject commit 23bbfd25c49e4eeb2e2127c1dd73c97db330b1ba

View file

@ -1,15 +1,10 @@
{ 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 = [
(pkgs.callPackage ../externals/rules/adafruit.nix { })
(pkgs.callPackage ../externals/rules/limesuite.nix { })
openocd
pkgs.openocd
];
environment.systemPackages = with pkgs; [
@ -23,4 +18,4 @@ in
users.artemis.extraGroups = [ "plugdev" "dialout" ];
extraGroups.plugdev = {};
};
}
}

View file

@ -26,4 +26,12 @@
];
};
};
environment.systemPackages = with pkgs; [
nixpkgs-fmt
nodejs
python3Packages.python-language-server
rnix-lsp
rust-analyzer
];
}