Skip to content

Commit 7109139

Browse files
authored
composefs: 1.0.6 -> 1.0.7 (#352913)
2 parents 0f1c508 + 19e7f77 commit 7109139

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

pkgs/by-name/co/composefs/package.nix

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,30 @@
2323
}:
2424
stdenv.mkDerivation (finalAttrs: {
2525
pname = "composefs";
26-
version = "1.0.6";
26+
version = "1.0.7";
2727

2828
src = fetchFromGitHub {
2929
owner = "containers";
3030
repo = "composefs";
3131
rev = "v${finalAttrs.version}";
32-
hash = "sha256-9YEY7oTjWwVT2KbzTOOc6sJIGEAkdLSKDf1noF1cYuA=";
32+
hash = "sha256-kbXmDdyRrtsERkUomjZUWP3QC2q27AWUTc/J2jCSXg4=";
3333
};
3434

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 ]
@@ -74,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: {
7482
description = "File system for mounting container images";
7583
homepage = "https://github.com/containers/composefs";
7684
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 ];
7886
maintainers = with lib.maintainers; [ kiskae ];
7987
mainProgram = "mkcomposefs";
8088
pkgConfigModules = [ "composefs" ];

0 commit comments

Comments
 (0)