stop accepting nixpkgs as an argument

set the NIX_PATH to select the version of nixpkgs to use
This commit is contained in:
zimbatm
2019-12-15 15:55:42 +01:00
parent 39694ed1d8
commit 949ac55e09
3 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
{ nixpkgs ? <nixpkgs> }: import <nixpkgs> {
import nixpkgs {
# docker images run on Linux # docker images run on Linux
system = "x86_64-linux"; system = "x86_64-linux";
config = {}; config = {};

View File

@@ -1,4 +1,4 @@
let let
pkgs = import ./. {}; pkgs = import ./.;
in in
pkgs.docker-nixpkgs pkgs.docker-nixpkgs

View File

@@ -1,5 +1,4 @@
{ nixpkgs ? <nixpkgs> }@args: with import ./.;
with import ./. args;
mkShell { mkShell {
buildInputs = [ buildInputs = [
jq jq