diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-06-16 05:12:37 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-07-11 21:21:28 +0200 |
commit | f5a7ce13174f04b94f807f731915029c1d7739df (patch) | |
tree | 2d4df68cc9ab800fd01f22f37013259af422f22f /pkgs/development/libraries/ldns | |
parent | a889454869e4f7d5ba6067ebcc0ba7fcd26e4417 (diff) |
ldns: also build examples
Diffstat (limited to 'pkgs/development/libraries/ldns')
-rw-r--r-- | pkgs/development/libraries/ldns/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix index 91eb7aecea905..ff63b6af25ec7 100644 --- a/pkgs/development/libraries/ldns/default.nix +++ b/pkgs/development/libraries/ldns/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { patchShebangs doc/doxyparse.pl ''; - outputs = [ "out" "dev" "man" ]; + outputs = [ "out" "dev" "man" "examples" ]; nativeBuildInputs = [ perl ]; buildInputs = [ openssl ]; @@ -24,6 +24,13 @@ stdenv.mkDerivation rec { postInstall = '' moveToOutput "bin/ldns-config" "$dev" + + pushd examples + configureFlagsArray+=( "--bindir=$examples/bin" ) + configurePhase + make + make install + popd ''; meta = with stdenv.lib; { |