Skip to content

Commit

Permalink
nix-plugins: Bump for new nix plugin mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Feb 13, 2018
1 parent 358b821 commit 9ef5d9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 4 additions & 6 deletions pkgs/development/libraries/nix-plugins/default.nix
@@ -1,18 +1,16 @@
{ stdenv, fetchFromGitHub, nix, boehmgc }:
let version = "2.0.7"; in
{ stdenv, fetchFromGitHub, nix, boehmgc, cmake, pkgconfig }:
let version = "3.0.1"; in
stdenv.mkDerivation {
name = "nix-plugins-${version}";

src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "1q4ydp2w114wbfm41m4qgrabha7ifa17xyz5dr137vvnj6njp4vs";
sha256 = "1pmk2m0kc6a3jqygm5cy1fl5gbcy0ghc2xs4ww0gh20walrys82r";
};

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

installFlags = [ "PREFIX=$(out)" ];
buildInputs = [ cmake pkgconfig nix ];

This comment has been minimized.

Copy link
@dtzWill

dtzWill Feb 13, 2018

Member

cmake and pkgconfig should be nativeBuildInputs.

Consider removing newly unused boehmgc argument, but your call there.

This comment has been minimized.

Copy link
@shlevy

shlevy Feb 13, 2018

Author Member

6bc24a2, thanks!


meta = {
description = "Collection of miscellaneous plugins for the nix expression language";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -10400,7 +10400,8 @@ with pkgs;
};
libnghttp2 = nghttp2.lib;

nix-plugins = callPackage ../development/libraries/nix-plugins {};
nix-plugins = callPackage ../development/libraries/nix-plugins
{ nix = nixUnstable; };

nlohmann_json = callPackage ../development/libraries/nlohmann_json { };

Expand Down

0 comments on commit 9ef5d9c

Please sign in to comment.