Skip to content

Commit

Permalink
nix-plugins: 2.0.3 -> 2.0.6.
Browse files Browse the repository at this point in the history
Fixes incompatibility between build-time and link-time nix version

(cherry picked from commit fe319f8)
  • Loading branch information
shlevy committed Apr 5, 2017
1 parent aed302a commit abdd895
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pkgs/development/libraries/nix-plugins/default.nix
@@ -1,18 +1,16 @@
{ stdenv, fetchFromGitHub, nix }:
let version = "2.0.3"; in
{ stdenv, fetchFromGitHub, nix, boehmgc }:
let version = "2.0.6"; in
stdenv.mkDerivation {
name = "nix-plugins-${version}";

src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "033w4m9ah127sfls7zqzpp2b1wdzsvzzk3bnkv6jyi31bws7hadp";
sha256 = "0gbajaxg7awk1fhicsnmvhrmd47wc7i38lz4baxks17sgx76amqr";
};

buildInputs = [ nix ];

buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" ];
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" "GC_INCLUDE=${boehmgc.dev}/include" ];

installFlags = [ "PREFIX=$(out)" ];

Expand Down

0 comments on commit abdd895

Please sign in to comment.