remove deprecated system passing
fixes 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' Wherever possible, it's best to reference the hostPlatform of the nixpkgs instance directly via `config`. This is only possible in NixOS systems though, for standalon home-manager configs we need to get that value through `pkgs.stdenv`.
This commit is contained in:
parent
411c7642ea
commit
b0093ef58f
13 changed files with 12 additions and 23 deletions
|
|
@ -2,15 +2,14 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
cfg = config.schmittlauch.packages;
|
||||
unstable = inputs.nixos-unstable.legacyPackages.${system};
|
||||
nur = inputs.nur.legacyPackages.${system};
|
||||
unstable = inputs.nixos-unstable.legacyPackages.${stdenv.hostPlatform.system};
|
||||
nur = inputs.nur.legacyPackages.${stdenv.hostPlatform.system};
|
||||
|
||||
graphicsApps = [
|
||||
inkscape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue