Merge pull request #100363 from Ma27/flake-no-modification-rev
flake.nix: allow inclusion of `nixpkgs` as `path:/.../`
This commit is contained in:
commit
0acab870da
@ -45,7 +45,7 @@
|
|||||||
modules ++ [
|
modules ++ [
|
||||||
{
|
{
|
||||||
system.nixos.versionSuffix =
|
system.nixos.versionSuffix =
|
||||||
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
|
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
|
||||||
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
||||||
|
|
||||||
system.build = {
|
system.build = {
|
||||||
|
Loading…
Reference in New Issue
Block a user