mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
nixopsUnstable: Set version to <version>-pre-<commit>
This commit is contained in:
parent
121b56dcd0
commit
0bd069dd41
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user