diff options
Diffstat (limited to 'conjure/default.nix')
| -rw-r--r-- | conjure/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/conjure/default.nix b/conjure/default.nix index aa88dbb..16628f2 100644 --- a/conjure/default.nix +++ b/conjure/default.nix @@ -10,22 +10,21 @@ in , fetchurl ? pkgs.fetchurl , makeWrapper ? pkgs.makeWrapper , savilerow ? pkgs.callPackage ../savilerow {} - , minion ? pkgs.callPackage ../minion {} , includeSolver ? true }: - stdenv.mkDerivation rec { - pname = "conjure"; + (stdenv.mkDerivation rec { + name = "conjure"; version = "2.3.0"; - buildInputs = [ patchelf unzip makeWrapper ]; + buildInputs = [ unzip makeWrapper ]; libPath = lib.makeLibraryPath [ gmp ]; binPath = if includeSolver - then lib.makeBinPath [ savilerow minion ] + then lib.makeBinPath [ savilerow savilerow.minion ] else ""; src = fetchurl { - url = "https://github.com/conjure-cp/conjure/releases/download/v${version}/${pname}-v${version}-linux.zip"; + url = "https://github.com/conjure-cp/conjure/releases/download/v${version}/${name}-v${version}-linux.zip"; sha256 = "cffa971f45438e0c2655d3546d61dc314dfdf05e8daf31d280131d515fc41f0e"; }; @@ -43,4 +42,6 @@ in ''; dontStrip = true; + }) // { + containedSolvers = import ./solvers.nix {}; } |
