Skip to content

Commit

Permalink
cntb: fix darwin (#342036)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Sep 15, 2024
2 parents 1469a5a + e1973e0 commit 6cade84
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/by-name/cn/cntb/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
owner = "contabo";
repo = "cntb";
rev = "v${version}";
hash = "sha256-clDIrZdvEy4oO0ZvqDNLJbr4Ij8D5dcyZPxey6zLV6Q=";
hash = "sha256-5JOO9tWMjy81wSB9Vq/gBYZ0xfrhES0dm/cTqXP8HiI";
# docs contains two files with the same name but different cases,
# this leads to a different hash on case insensitive filesystems (e.g. darwin)
# https://github.com/contabo/cntb/issues/34
postFetch = ''
rm -rf $out/openapi/docs
'';
};

subPackages = [ "." ];
Expand Down

0 comments on commit 6cade84

Please sign in to comment.