From b62f65d24ef37e016896f57733cc1b936cc96374 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 11 Aug 2010 09:54:46 +0000 Subject: [PATCH] pkgs/tools/networking/nbd: removed hard-coded flags for static linking A statically linked binary should rather be generated using the appropriate stdenv adapter. svn path=/nixpkgs/trunk/; revision=23107 --- pkgs/tools/networking/nbd/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/tools/networking/nbd/default.nix b/pkgs/tools/networking/nbd/default.nix index ecc0c7bf5d7f..cbdaa39b16f1 100644 --- a/pkgs/tools/networking/nbd/default.nix +++ b/pkgs/tools/networking/nbd/default.nix @@ -9,12 +9,6 @@ stdenv.mkDerivation rec { }; buildInputs = [pkgconfig glib]; - - # Link this package statically to generate an nbd-server binary that - # has no dynamic dependencies and that can be used on (non-Nix) remote - # machines that have a different setup than the local one. - configureFlags = "LDFLAGS=-static"; - postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"''; meta = {