Get rid of nixpkgs everywhere and use pkgs arguments instead
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||
{pkgs, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||
|
||||
|
||||
with pkgs;
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||
{pkgs, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||
|
||||
|
||||
with pkgs;
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
with import <nixpkgs> {}; # bring all of Nixpkgs into scope
|
||||
{pkgs}:
|
||||
|
||||
with pkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "nodeinfo";
|
||||
src = ./nodeinfo.sh;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||
{pkgs, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
|
||||
|
||||
|
||||
with pkgs;
|
||||
|
||||
Reference in New Issue
Block a user