lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

mods: 1.7.0 -> 1.8.1

- Skip tests on macOS due to sandbox restrictions causing panic when
reading /etc/protocols and /etc/services files
- Skip generating man pages and shell completions on macOS due to the
same reasons mentioned above

+10 -3
+10 -3
pkgs/by-name/mo/mods/package.nix
··· 13 13 14 14 buildGoModule (finalAttrs: { 15 15 pname = "mods"; 16 - version = "1.7.0"; 16 + version = "1.8.1"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "charmbracelet"; 20 20 repo = "mods"; 21 21 tag = "v${finalAttrs.version}"; 22 - hash = "sha256-wzLYkcgUWPzghJEhYRh7HH19Rqov1RJAxdgp3AGnOTY="; 22 + hash = "sha256-CT90uMQc0quQK/vCeLiHH8taEkCSDIcO7Q3aA+oaNmY="; 23 23 }; 24 24 25 - vendorHash = "sha256-L+4vkh7u6uMm5ICMk8ke5RVY1oYeKMYWVYYq9YqpKiw="; 25 + # Otherwise checks fail with `panic: open /etc/protocols: operation not permitted` when sandboxing is enabled on Darwin 26 + # https://github.com/NixOS/nixpkgs/pull/381645#issuecomment-2656211797 27 + modPostBuild = '' 28 + substituteInPlace vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go \ 29 + --replace-quiet '!os.IsNotExist(err)' '!os.IsNotExist(err) && !os.IsPermission(err)' 30 + ''; 31 + 32 + vendorHash = "sha256-jtSuSKy6GpWrJAXVN2Acmtj8klIQrgJjNwgyRZIyqyY="; 26 33 27 34 nativeBuildInputs = lib.optionals (installManPages || installShellCompletions) [ 28 35 installShellFiles