mirror of
https://github.com/nmattia/niv.git
synced 2024-09-19 11:27:40 +03:00
sources.nix: with -> let
This commit is contained in:
parent
430ee95b6d
commit
bd1aeb0a9c
@ -1,8 +1,6 @@
|
||||
# This file has been generated by Niv.
|
||||
|
||||
# A record, from name to path, of the third-party packages
|
||||
with rec
|
||||
{
|
||||
let
|
||||
pkgs =
|
||||
if hasNixpkgsPath
|
||||
then
|
||||
@ -81,7 +79,7 @@ with rec
|
||||
"file" = fetchurl;
|
||||
"builtin-url" = builtins_fetchurl;
|
||||
};
|
||||
};
|
||||
in
|
||||
# NOTE: spec must _not_ have an "outPath" attribute
|
||||
mapAttrs (
|
||||
_: spec:
|
||||
|
Loading…
Reference in New Issue
Block a user