1
0
Fork 0

do not use specialArgs. Closes #1

This commit is contained in:
Sebastien Bourdeauducq 2023-01-04 11:30:42 +08:00
parent 359eddeddb
commit 10d529da0a
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -3,8 +3,9 @@
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";
specialArgs = { inherit artiq; }; # Do not use specialArgs to pass the ARTIQ flake - this evaluates many attributes
modules = [ ./configuration.nix ]; # and bloats the installation. https://git.m-labs.hk/M-Labs/defenestrate/issues/1
modules = [ ( import ./configuration.nix { inherit artiq; } ) ];
}; };
}; };
} }