-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure: compsize #336006
Comments
The reason is update Something there breaks it: Seems like quite a few things that
|
Here's a quick workaround: diff --git a/pkgs/os-specific/linux/compsize/default.nix b/pkgs/os-specific/linux/compsize/default.nix
index 441108b0e54f..8132181511ff 100644
--- a/pkgs/os-specific/linux/compsize/default.nix
+++ b/pkgs/os-specific/linux/compsize/default.nix
@@ -1,5 +1,16 @@
-{ lib, stdenv, fetchFromGitHub, btrfs-progs }:
+{ lib, stdenv, fetchFromGitHub, fetchurl, btrfs-progs }:
+let
+ btrfs-progs' = btrfs-progs.overrideAttrs (old: rec {
+ pname = "btrfs-progs";
+ version = "6.10";
+ src = fetchurl {
+ url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz";
+ hash = "sha256-M4KoTj/P4f/eoHphqz9OhmZdOPo18fNFSNXfhnQj4N8=";
+ };
+ });
+
+in
stdenv.mkDerivation rec {
pname = "compsize";
version = "1.5";
@@ -11,7 +22,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-OX41ChtHX36lVRL7O2gH21Dfw6GPPEClD+yafR/PFm8=";
};
- buildInputs = [ btrfs-progs ];
+ buildInputs = [ btrfs-progs' ];
installFlags = [
"PREFIX=${placeholder "out"}" |
Seems due to this commit: kdave/btrfs-progs@2830e84 |
Here's the corresponding compsize upstream bug: kilobyte/compsize#52 |
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
Add any other context about the problem here.
Notify maintainers
@trofi @CrazedProgrammer
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: