Skip to content

Commit

Permalink
flake/nixosSystem: pass the final lib to eval-config.nix
Browse files Browse the repository at this point in the history
Makes lib extensions available in modules by default
  • Loading branch information
ncfavier committed Dec 1, 2022
1 parent 546ae92 commit 6fe8d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

nixosSystem = args:
import ./nixos/lib/eval-config.nix (
args // {
{ lib = final; } // args // {
modules = args.modules ++ [{
system.nixos.versionSuffix =
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
Expand Down

0 comments on commit 6fe8d1f

Please sign in to comment.