* Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages from earlier bootstrap phases. * Don't rely on the existence of attributes such as `stdenv.coreutils'. svn path=/nixpkgs/trunk/; revision=22991
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
|
||||
|
||||
assert stdenv ? gawk || gawk != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "virtuoso-opensource-6.1.1";
|
||||
|
||||
@@ -10,8 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1sd70j9i26ml16lig9r9lmrdf5q0kybq71r6vzzzc5v5jxjz0l7w";
|
||||
};
|
||||
|
||||
buildInputs = [ libxml2 openssl readline ]
|
||||
++ stdenv.lib.optional (! stdenv ? gawk) gawk;
|
||||
buildInputs = [ libxml2 openssl readline gawk ];
|
||||
|
||||
CPP="${stdenv.gcc}/bin/gcc -E";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user