File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
pkgs/by-name/co/composefs Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,18 @@ stdenv.mkDerivation (finalAttrs: {
3535 strictDeps = true ;
3636 outputs = [ "out" "lib" "dev" ] ;
3737
38- postPatch = lib . optionalString installExperimentalTools ''
39- substituteInPlace tools/meson.build \
40- --replace-fail "install : false" "install : true"
41- '' ;
38+ postPatch =
39+ # 'both_libraries' as an install target always builds both versions.
40+ # This results in double disk usage for normal builds and broken static builds,
41+ # so we replace it with the regular library target.
42+ ''
43+ substituteInPlace libcomposefs/meson.build \
44+ --replace-fail "both_libraries" "library"
45+ ''
46+ + lib . optionalString installExperimentalTools ''
47+ substituteInPlace tools/meson.build \
48+ --replace-fail "install : false" "install : true"
49+ '' ;
4250
4351 nativeBuildInputs = [ meson ninja go-md2man pkg-config ] ;
4452 buildInputs = [ openssl ]
You can’t perform that action at this time.
0 commit comments