always allow substitutes

This commit is contained in:
Charlotte 🦝 Delenk 2022-07-02 20:31:09 +01:00
parent 03182bc871
commit bf8a503b0f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -64,6 +64,11 @@ in {
};
sourceRoot = "source/gitea-src-${version}";
});
nix = prev.nix.overrideAttrs (old: rec {
postPatchPhase = ''
sed 's/getBoolAttr."allowSubstitutes", true./true/' src/libstore/parsed-derivations.cc
'';
});
})
];
}