Fix for nixops

This commit is contained in:
eeva 2018-02-25 17:55:47 +02:00
parent 06ed902275
commit 71a3b1f0d1

View file

@ -22,5 +22,12 @@ self: super:
ripmime = super.ripmime.override {
stdenv = super.overrideCC super.stdenv super.gcc6;
};
nixops = super.nixops.overrideDerivation (
old: {
patchPhase = ''
substituteInPlace nix/eval-machine-info.nix \
--replace 'system.nixosVersion' 'system.nixos.version'
'';
});
}