Revert "do not use specialArgs"

This reverts commit 10d529da0a.
This commit is contained in:
Sebastien Bourdeauducq 2023-01-05 11:42:22 +08:00
parent 4f4f49a217
commit b848fd61fe
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ artiq }: { config, pkgs, ... }: { config, pkgs, artiq, ... }:
{ {
imports = imports =

View File

@ -3,9 +3,8 @@
outputs = { self, artiq }: { outputs = { self, artiq }: {
nixosConfigurations.artiq = artiq.inputs.nixpkgs.lib.nixosSystem { nixosConfigurations.artiq = artiq.inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
# Do not use specialArgs to pass the ARTIQ flake - this evaluates many attributes specialArgs = { inherit artiq; };
# and bloats the installation. https://git.m-labs.hk/M-Labs/defenestrate/issues/1 modules = [ ./configuration.nix ];
modules = [ ( import ./configuration.nix { inherit artiq; } ) ];
}; };
}; };
} }