-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin
Description
Describe the bug
Running git from nixpkgs master nix shell github:nixos/nixpkgs/master#git fails (it is sent signal 9 by the OS)
This appears to be a codesigning issue: (from the system log)
Termination Reason: Namespace CODESIGNING, Code 2
Forcing nix to build git locally solves the problem: nix-shell --pure --run "git" with default.nix:
with import <nixpkgs> {}; let
git = pkgs.git.overrideAttrs (old: {
rebuildMe = true;
});
in
mkShell {
buildInputs = [git];
}Steps To Reproduce
Steps to reproduce the behavior:
- be on aarch64-darwin
- run git
zsh: killed git
Expected behavior
git should work
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@NixOS/darwin-maintainers
@primeos
@wmertens
@globin
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"aarch64-darwin"`
- host os: `Darwin 21.6.0, macOS 12.5.1`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.12.0`
- channels(jamie): `""`
- channels(root): `""`
- nixpkgs: `/etc/nix/path/nixpkgs`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin