Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
use pkgs instead of nixpkgs as an input of default.nix, fixes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Jun 28, 2016
1 parent b31250c commit 367bdb6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pypi2nix/stage3.py
Expand Up @@ -3,15 +3,13 @@

DEFAULT_NIX = '''
{ system ? builtins.currentSystem
, nixpkgs ? <nixpkgs>
{ pkgs ? import <nixpkgs> {}
}:
let
inherit (pkgs.stdenv.lib) fix' extends inNixShell;
pkgs = import nixpkgs { inherit system; };
pythonPackages = pkgs.%(python_version)sPackages;
commonBuildInputs = %(extra_build_inputs)s;
commonDoCheck = false;
Expand Down

0 comments on commit 367bdb6

Please sign in to comment.