Get rid of nixpkgs everywhere and use pkgs arguments instead

This commit is contained in:
Jonas Nick 2019-01-02 11:24:55 +00:00
parent d2e203918b
commit 0fb3f9da5a
No known key found for this signature in database
GPG key ID: 4861DBF262123605
5 changed files with 8 additions and 13 deletions

View file

@ -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;

View file

@ -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;

View file

@ -1,5 +1,6 @@
with import <nixpkgs> {}; # bring all of Nixpkgs into scope
{pkgs}:
with pkgs;
stdenv.mkDerivation {
name = "nodeinfo";
src = ./nodeinfo.sh;

View file

@ -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;