mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
nbd: add which to buildInputs (#46635)
* NBD: add which to buildInputs. * NBD: move pkgconfig and which to nativeBuildInputs.
This commit is contained in:
parent
61b2e0cba8
commit
3c57887f64
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nbd-3.18";
|
||||
|
@ -8,10 +8,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0cb0sjiv0j9sh9dk24nrjm7sa0axbrcp2av5hc91g1ryzk764dyq";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig glib ]
|
||||
buildInputs = [ glib ]
|
||||
++ stdenv.lib.optional (stdenv ? glibc) stdenv.glibc.linuxHeaders;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig which ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/doc/${name}"
|
||||
cp README.md "$out/share/doc/${name}/"
|
||||
|
|
Loading…
Reference in a new issue