Get rid of nixpkgs everywhere and use pkgs arguments instead
This commit is contained in:
parent
d2e203918b
commit
0fb3f9da5a
|
@ -8,11 +8,11 @@
|
||||||
unstable-pkgs = import unstable-pkgs-git { };
|
unstable-pkgs = import unstable-pkgs-git { };
|
||||||
|
|
||||||
# Custom packages
|
# Custom packages
|
||||||
nodeinfo = (import pkgs/nodeinfo.nix);
|
nodeinfo = (import pkgs/nodeinfo.nix) { inherit pkgs; };
|
||||||
lightning-charge = import pkgs/lightning-charge.nix { inherit pkgs; };
|
lightning-charge = import pkgs/lightning-charge.nix { inherit pkgs; };
|
||||||
nanopos = import pkgs/nanopos.nix { inherit pkgs; };
|
nanopos = import pkgs/nanopos.nix { inherit pkgs; };
|
||||||
spark-wallet = import pkgs/spark-wallet.nix { inherit pkgs; };
|
spark-wallet = import pkgs/spark-wallet.nix { inherit pkgs; };
|
||||||
liquidd = import pkgs/liquidd.nix;
|
liquidd = pkgs.callPackage (import pkgs/liquidd.nix) { };
|
||||||
in {
|
in {
|
||||||
disabledModules = [ "services/security/tor.nix" ];
|
disabledModules = [ "services/security/tor.nix" ];
|
||||||
imports =
|
imports =
|
||||||
|
@ -32,6 +32,6 @@ in {
|
||||||
inherit lightning-charge;
|
inherit lightning-charge;
|
||||||
inherit nanopos;
|
inherit nanopos;
|
||||||
inherit spark-wallet;
|
inherit spark-wallet;
|
||||||
liquidd = (pkgs.callPackage liquidd { });
|
inherit liquidd;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{pkgs ? import <nixpkgs> {
|
{pkgs, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||||
inherit system;
|
|
||||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
|
||||||
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{pkgs ? import <nixpkgs> {
|
{pkgs, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||||
inherit system;
|
|
||||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
|
||||||
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
with import <nixpkgs> {}; # bring all of Nixpkgs into scope
|
{pkgs}:
|
||||||
|
|
||||||
|
with pkgs;
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "nodeinfo";
|
name = "nodeinfo";
|
||||||
src = ./nodeinfo.sh;
|
src = ./nodeinfo.sh;
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{pkgs ? import <nixpkgs> {
|
{pkgs, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||||
inherit system;
|
|
||||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
|
||||||
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user