From bd1aeb0a9c704de3a5e805bc73913af9abf8824b Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Sun, 24 Nov 2019 19:40:00 +0100 Subject: [PATCH] sources.nix: with -> let --- nix/sources.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nix/sources.nix b/nix/sources.nix index 2de89a6..9520f31 100644 --- a/nix/sources.nix +++ b/nix/sources.nix @@ -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: