mirror of
https://github.com/nmattia/snack.git
synced 2024-11-28 12:27:41 +03:00
Stop threading singleOut everywhere
This commit is contained in:
parent
f8bb059954
commit
191065293d
@ -1,8 +1,8 @@
|
||||
{ runCommand, lib, singleOut, callPackage, stdenv, rsync, symlinkJoin }:
|
||||
{ runCommand, lib, callPackage, stdenv, rsync, symlinkJoin }:
|
||||
|
||||
with (callPackage ./modules.nix { inherit singleOut; });
|
||||
with (callPackage ./modules.nix {});
|
||||
with (callPackage ./lib.nix {});
|
||||
with (callPackage ./module-spec.nix { inherit singleOut; });
|
||||
with (callPackage ./module-spec.nix {});
|
||||
rec {
|
||||
|
||||
# Returns an attribute set where the keys are all the built module names and
|
||||
|
@ -15,13 +15,13 @@
|
||||
with (callPackage ./files.nix {});
|
||||
|
||||
# why is "inherit" needed?
|
||||
with (callPackage ./modules.nix { inherit singleOut; });
|
||||
with (callPackage ./module-spec.nix { inherit singleOut; });
|
||||
with (callPackage ./package-spec.nix { inherit singleOut; });
|
||||
with (callPackage ./hpack.nix { inherit singleOut; });
|
||||
with (callPackage ./modules.nix {});
|
||||
with (callPackage ./module-spec.nix {});
|
||||
with (callPackage ./package-spec.nix {});
|
||||
with (callPackage ./hpack.nix {});
|
||||
with (callPackage ./lib.nix {});
|
||||
with (callPackage ./build.nix { inherit singleOut; });
|
||||
with (callPackage ./ghci.nix { inherit singleOut; });
|
||||
with (callPackage ./build.nix {});
|
||||
with (callPackage ./ghci.nix {});
|
||||
|
||||
let
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ makeWrapper, symlinkJoin, lib, callPackage, singleOut, writeScriptBin }:
|
||||
{ makeWrapper, symlinkJoin, lib, callPackage, writeScriptBin }:
|
||||
|
||||
with (callPackage ./module-spec.nix { inherit singleOut; });
|
||||
with (callPackage ./modules.nix { inherit singleOut; });
|
||||
with (callPackage ./module-spec.nix {});
|
||||
with (callPackage ./modules.nix {});
|
||||
|
||||
rec {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, glibcLocales, callPackage, singleOut, writeText, runCommand, haskellPackages }:
|
||||
{ lib, glibcLocales, callPackage, writeText, runCommand, haskellPackages }:
|
||||
|
||||
with (callPackage ./modules.nix { inherit singleOut; });
|
||||
with (callPackage ./modules.nix {});
|
||||
|
||||
let
|
||||
y2j = runCommand "yaml2json"
|
||||
@ -18,8 +18,6 @@ let
|
||||
"${y2j} ${writeText "y2j" text} > $out"
|
||||
);
|
||||
in builtins.fromJSON json;
|
||||
|
||||
|
||||
in
|
||||
{
|
||||
snackNixFromHPack = packageYaml:
|
||||
|
@ -1,11 +1,10 @@
|
||||
# Functions related to module specs
|
||||
{ lib
|
||||
, callPackage
|
||||
, singleOut
|
||||
}:
|
||||
|
||||
with (callPackage ./modules.nix { inherit singleOut; });
|
||||
with (callPackage ./package-spec.nix { inherit singleOut; });
|
||||
with (callPackage ./modules.nix {});
|
||||
with (callPackage ./package-spec.nix {});
|
||||
with (callPackage ./lib.nix {});
|
||||
|
||||
rec {
|
||||
|
@ -2,7 +2,6 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, runCommand
|
||||
, singleOut
|
||||
, haskellPackages
|
||||
}:
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
{ lib
|
||||
, singleOut
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
with (callPackage ./modules.nix { inherit singleOut; });
|
||||
with (callPackage ./modules.nix {});
|
||||
|
||||
rec {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user