Remove fix for nixops

This commit is contained in:
Martin Potier 2018-11-20 11:26:27 +02:00
parent fd97565de9
commit 06b03d03a8
1 changed files with 8 additions and 7 deletions

View File

@ -33,13 +33,14 @@ self: super:
sha256 = "1971jc0431pl8yixpl37ryl2l0pqdf0xjvkg59nqdwj3vbdx5606";
};
});
nixops = super.nixops.overrideDerivation (
old: {
patchPhase = ''
substituteInPlace nix/eval-machine-info.nix \
--replace 'system.nixosVersion' 'system.nixos.version'
'';
});
# Probably not needed anymore
#nixops = super.nixops.overrideDerivation (
#old: {
# patchPhase = ''
# substituteInPlace nix/eval-machine-info.nix \
# --replace 'system.nixosVersion' 'system.nixos.version'
# '';
#});
# Originally from Mats Rauhala ®2018
copy = super.writeScriptBin "copy" ''
function clean() {