diff --git a/pkgs/applications/networking/cluster/nixops/default.nix b/pkgs/applications/networking/cluster/nixops/default.nix index 79b0a8cbda48..1f08aad53e4e 100644 --- a/pkgs/applications/networking/cluster/nixops/default.nix +++ b/pkgs/applications/networking/cluster/nixops/default.nix @@ -18,7 +18,7 @@ let nixops = super.nixops.overridePythonAttrs ( old: { - version = "${old.version}-pre-${lib.substring 0 7 super.nixops.src.rev}"; + version = "${old.version}-pre-${lib.substring 0 7 super.nixops.src.rev or "dirty"}"; postPatch = '' substituteInPlace nixops/args.py --subst-var version