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
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
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