Skip to content

Commit

Permalink
Revert "do not use specialArgs"
Browse files Browse the repository at this point in the history
This reverts commit 10d529d.
  • Loading branch information
sbourdeauducq committed Jan 5, 2023
1 parent 4f4f49a commit b848fd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion final/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ artiq }: { config, pkgs, ... }:
{ config, pkgs, artiq, ... }:

{
imports =
Expand Down
5 changes: 2 additions & 3 deletions final/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
outputs = { self, artiq }: {
nixosConfigurations.artiq = artiq.inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
# Do not use specialArgs to pass the ARTIQ flake - this evaluates many attributes
# and bloats the installation. https://git.m-labs.hk/M-Labs/defenestrate/issues/1
modules = [ ( import ./configuration.nix { inherit artiq; } ) ];
specialArgs = { inherit artiq; };
modules = [ ./configuration.nix ];
};
};
}

0 comments on commit b848fd6

Please sign in to comment.