forked from lix-project/nix-eval-jobs
Use nix
as the argument name for nix
in default.nix
And pass in `nix = nixUnstable` from the development shell.
This commit is contained in:
parent
44655761c5
commit
a0bd67f9cb
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, nixUnstable
|
, nix
|
||||||
, meson
|
, meson
|
||||||
, cmake
|
, cmake
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
src = if srcDir == null then filterMesonBuild ./. else srcDir;
|
src = if srcDir == null then filterMesonBuild ./. else srcDir;
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
nlohmann_json
|
nlohmann_json
|
||||||
nixUnstable
|
nix
|
||||||
boost
|
boost
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -13,7 +13,10 @@
|
||||||
, srcDir ? null
|
, srcDir ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
(pkgs.callPackage ./default.nix { inherit srcDir; }).overrideAttrs (old: {
|
(pkgs.callPackage ./default.nix {
|
||||||
|
inherit srcDir;
|
||||||
|
nix = pkgs.nixUnstable;
|
||||||
|
}).overrideAttrs (old: {
|
||||||
|
|
||||||
nativeBuildInputs = old.nativeBuildInputs ++ [
|
nativeBuildInputs = old.nativeBuildInputs ++ [
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue