We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d6ab6e commit 74430a8Copy full SHA for 74430a8
1 file changed
flake.nix
@@ -18,17 +18,17 @@
18
19
in
20
{
21
- lib = lib // {
+ lib = lib.extend (final: prev: {
22
nixosSystem = { modules, ... } @ args:
23
import ./nixos/lib/eval-config.nix (args // {
24
modules = modules ++
25
[ { system.nixos.versionSuffix =
26
- ".${lib.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
27
- system.nixos.revision = lib.mkIf (self ? rev) self.rev;
+ ".${final.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
+ system.nixos.revision = final.mkIf (self ? rev) self.rev;
28
}
29
];
30
});
31
- };
+ });
32
33
checks.x86_64-linux.tarball = jobs.tarball;
34
0 commit comments