1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-05 20:15:26 +03:00

Replace default.nix with-rec with let

This commit is contained in:
Nicolas Mattia 2020-07-22 20:14:10 +02:00
parent b0e3ca55a9
commit 8e0e8017c5

View File

@ -2,8 +2,7 @@
, pkgs ? import ./nix { inherit sources; }
}:
with rec
{
let
files = pkgs.callPackage ./nix/files.nix {};
sourceByRegex = name: src: regexes:
@ -191,7 +190,7 @@ with rec
echo " ..."
'';
};
};
in
rec
{
inherit niv niv-sdist niv-source niv-devshell niv-cabal-upload;