mirror of
https://github.com/nmattia/niv.git
synced 2024-09-16 01:47:08 +03:00
Replace default.nix with-rec with let
This commit is contained in:
parent
b0e3ca55a9
commit
8e0e8017c5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user