Remove references to <nixpkgs>

Nixpkgs should not use <nixpkgs> to refer to itself, because $NIX_PATH
might not be set or not point to the same Nixpkgs. It's also
unnecessary.
This commit is contained in:
Eelco Dolstra 2014-09-23 15:48:15 +02:00
parent eb3794186c
commit 91fa55e702
3 changed files with 2 additions and 4 deletions

View File

@ -40,7 +40,7 @@ let
};
in map gen expr;
in import <nixpkgs/nixos/lib/make-iso9660-image.nix> {
in import ../../../../../nixos/lib/make-iso9660-image.nix {
inherit stdenv perl cdrkit pathsFromGraph;
contents = [
{ source = "${cygwinCross}/bin/setup.exe";

View File

@ -1,7 +1,5 @@
{ stdenv, fetchurl, jre }:
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "minecraft-server-${version}";
version = "1.7.10";

View File

@ -3,7 +3,7 @@
with stdenv.lib;
let
nodePackages = callPackage (import <nixpkgs/pkgs/top-level/node-packages.nix>) {
nodePackages = callPackage (import ../../../top-level/node-packages.nix) {
neededNatives = [python] ++ optional (stdenv.isLinux) utillinux;
self = nodePackages;
generated = ./package.nix;