From 045e10fe15396a0fef1e38d9a977f455c61ffa62 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 28 Sep 2009 15:10:55 +0000 Subject: [PATCH] Link nbd package statically. svn path=/nixpkgs/trunk/; revision=17470 --- pkgs/tools/networking/nbd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/networking/nbd/default.nix b/pkgs/tools/networking/nbd/default.nix index 9d25745158bd..dd6339ae105d 100644 --- a/pkgs/tools/networking/nbd/default.nix +++ b/pkgs/tools/networking/nbd/default.nix @@ -13,8 +13,8 @@ stdenv.mkDerivation rec { }; buildInputs = [pkgconfig glib]; - # Desirable, but doesn't work because glib is compiled without static - # libraries by default: - # - # configureFlags = "LDFLAGS=-static"; + # 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"; }