boinc: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -67,7 +67,9 @@ stdenv.mkDerivation rec {
|
||||
xcbutil
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString (!headless) "-lX11";
|
||||
env = lib.optionalAttrs (!headless) {
|
||||
NIX_LDFLAGS = "-lX11";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
./_autosetup
|
||||
|
||||
Reference in New Issue
Block a user