forked from lix-project/hydra
Replace shell.nix with a flake devShell attribute
This commit is contained in:
parent
4172b5b290
commit
2ecc06e557
|
@ -17,5 +17,12 @@
|
||||||
packages.hydra = hydraJobs.build.x86_64-linux;
|
packages.hydra = hydraJobs.build.x86_64-linux;
|
||||||
|
|
||||||
defaultPackage = packages.hydra;
|
defaultPackage = packages.hydra;
|
||||||
|
|
||||||
|
devShell = (import ./release.nix {
|
||||||
|
hydraSrc = deps.self;
|
||||||
|
nixpkgs = deps.nixpkgs;
|
||||||
|
shell = true;
|
||||||
|
}).build.x86_64-linux;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,9 +138,7 @@ rec {
|
||||||
|
|
||||||
preConfigure = "autoreconf -vfi";
|
preConfigure = "autoreconf -vfi";
|
||||||
|
|
||||||
NIX_LDFLAGS = [
|
NIX_LDFLAGS = [ "-lpthread" ];
|
||||||
"-lpthread"
|
|
||||||
];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue