nixopsUnstable: Set version to <version>-pre-<commit>

This commit is contained in:
Robert Hensing 2022-03-03 12:42:48 +01:00
parent 121b56dcd0
commit 0bd069dd41

View file

@ -18,6 +18,8 @@ let
nixops = super.nixops.overridePythonAttrs (
old: {
version = "${old.version}-pre-${lib.substring 0 7 super.nixops.src.rev}";
postPatch = ''
substituteInPlace nixops/args.py --subst-var version
'';