|
23 | 23 | }: |
24 | 24 | stdenv.mkDerivation (finalAttrs: { |
25 | 25 | pname = "composefs"; |
26 | | - version = "1.0.6"; |
| 26 | + version = "1.0.7"; |
27 | 27 |
|
28 | 28 | src = fetchFromGitHub { |
29 | 29 | owner = "containers"; |
30 | 30 | repo = "composefs"; |
31 | 31 | rev = "v${finalAttrs.version}"; |
32 | | - hash = "sha256-9YEY7oTjWwVT2KbzTOOc6sJIGEAkdLSKDf1noF1cYuA="; |
| 32 | + hash = "sha256-kbXmDdyRrtsERkUomjZUWP3QC2q27AWUTc/J2jCSXg4="; |
33 | 33 | }; |
34 | 34 |
|
35 | 35 | strictDeps = true; |
36 | 36 | outputs = [ "out" "lib" "dev" ]; |
37 | 37 |
|
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 | + ''; |
42 | 50 |
|
43 | 51 | nativeBuildInputs = [ meson ninja go-md2man pkg-config ]; |
44 | 52 | buildInputs = [ openssl ] |
@@ -74,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: { |
74 | 82 | description = "File system for mounting container images"; |
75 | 83 | homepage = "https://github.com/containers/composefs"; |
76 | 84 | changelog = "https://github.com/containers/composefs/releases/tag/v${finalAttrs.version}"; |
77 | | - license = with lib.licenses; [ gpl3Plus lgpl21Plus ]; |
| 85 | + license = with lib.licenses; [ gpl2Only asl20 ]; |
78 | 86 | maintainers = with lib.maintainers; [ kiskae ]; |
79 | 87 | mainProgram = "mkcomposefs"; |
80 | 88 | pkgConfigModules = [ "composefs" ]; |
|
0 commit comments