Make Niv working in restricted evaluation mode

This commit is contained in:
Antoine Eiche 2021-05-31 09:48:15 +02:00
parent 3fc047bc64
commit ddafdfbde7
1 changed files with 0 additions and 3 deletions

View File

@ -13,9 +13,6 @@ let
pkgs.fetchurl { inherit (spec) url sha256; };
fetch_tarball = pkgs: spec:
if spec.builtin or true then
builtins_fetchTarball { inherit (spec) url sha256; }
else
pkgs.fetchzip { inherit (spec) url sha256; };
fetch_git = spec: