flake: do not throw on dirty tree
This is mostly inconvenient, I have enough discipline not to need it anymore.
This commit is contained in:
parent
49232423ca
commit
9612258118
|
@ -19,10 +19,7 @@
|
||||||
defaultModules = [
|
defaultModules = [
|
||||||
({ ... }: {
|
({ ... }: {
|
||||||
# Let 'nixos-version --json' know about the Git revision
|
# Let 'nixos-version --json' know about the Git revision
|
||||||
system.configurationRevision =
|
system.configurationRevision = self.rev or "dirty";
|
||||||
if self ? rev
|
|
||||||
then self.rev
|
|
||||||
else throw "Refusing to build from a dirty Git tree!";
|
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = (lib.attrValues self.overlays) ++ [
|
nixpkgs.overlays = (lib.attrValues self.overlays) ++ [
|
||||||
|
|
Loading…
Reference in a new issue