nix-plugins: Bump, unbreak

This commit is contained in:
Shea Levy 2017-04-04 11:29:40 -04:00
parent 9fc14f23b8
commit 9904019841
2 changed files with 10 additions and 12 deletions

View File

@ -1,17 +1,18 @@
{ stdenv, fetchgit, nix }:
{ stdenv, fetchFromGitHub, nix }:
let version = "2.0.2"; in
stdenv.mkDerivation {
name = "nix-plugins-1.0.0";
name = "nix-plugins-${version}";
src = fetchgit {
url = git://github.com/shlevy/nix-plugins.git;
rev = "refs/tags/1.0.0";
sha256 = "1w7l4mdwgf5w1g48mbng4lcg2nihixvp835mg2j7gghnya309fxl";
src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "02bi0p9qjpyxzbr0ki9q774lwdjwcpipkzx84xx9q1ywwafjhr7b";
};
buildInputs = [ nix ];
buildFlags = [ "NIX_INCLUDE=${nix}/include" ];
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" ];
installFlags = [ "PREFIX=$(out)" ];
@ -20,6 +21,5 @@ stdenv.mkDerivation {
homepage = https://github.com/shlevy/nix-plugins;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
broken = true;
};
}

View File

@ -9131,9 +9131,7 @@ with pkgs;
};
libnghttp2 = nghttp2.lib;
nix-plugins = callPackage ../development/libraries/nix-plugins {
nix = pkgs.nixUnstable;
};
nix-plugins = callPackage ../development/libraries/nix-plugins {};
nlohmann_json = callPackage ../development/libraries/nlohmann_json { };