Skip to content

Commit

Permalink
Update nixConfig in flake
Browse files Browse the repository at this point in the history
- Set 'allow-import-from-derivation' in flake, to allow
  'nix flake check' to pass succesfully (if the option
  isn't enabled in global Nix config).

Signed-off-by: Joonas Onatsu <[email protected]>
  • Loading branch information
JoonasOnatsu committed Apr 24, 2024
1 parent 23d8916 commit 1ae70cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
];
};

nixConfig = {
allow-import-from-derivation = true;
};

inputs = rec {
ghafOS.url = "github:tiiuae/ghaf";
};
Expand Down

0 comments on commit 1ae70cf

Please sign in to comment.