refine
This commit is contained in:
parent
0e288ce0b1
commit
adf4888d4a
4 changed files with 63 additions and 5 deletions
|
|
@ -4,6 +4,7 @@
|
|||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkgs,
|
||||
mypkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -17,7 +18,7 @@ let
|
|||
repo = "xbuild";
|
||||
rev = "master";
|
||||
# sha256 = "sha256-DLq7vC+4k2TMy5jKvQkFTy+xZmpvl0+DiWcd7CBVbgw=";
|
||||
sha256 = "sha256-gYIYd3J4mCJJU0yJ+2xL/5URKo+M8T2Q9CWLbxQ2rtQ=";
|
||||
sha256 = "sha256-DD/ErN13ydDwYV5BhF81dJEkDIx1bAFQccDKxjkF+qw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -52,6 +53,15 @@ let
|
|||
pkgs.linux-pam
|
||||
pkgs.libtirpc
|
||||
pkgs.hwloc
|
||||
pkgs.libuv
|
||||
pkgs.readline
|
||||
pkgs.openssl
|
||||
pkgs.libcyaml
|
||||
pkgs.libyaml
|
||||
pkgs.elogind
|
||||
pkgs.sqlite
|
||||
pkgs.python3
|
||||
mypkgs.capnpc
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
@ -64,7 +74,7 @@ let
|
|||
makeWrapper "$bin" "$out/bin/$(basename $bin)" \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath wrapped_xbuild.buildInputs} \
|
||||
--prefix PKG_CONFIG_PATH : ${pkgs.lib.makeSearchPathOutput "dev" "lib/pkgconfig" wrapped_xbuild.buildInputs} \
|
||||
--set AUTO_DETECT_PKG_CONFIG_PATH no
|
||||
--set AUTO_DETECT_PKG_CONFIG_PATH no
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue