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`
Describe the bug
Running
gitfrom nixpkgs masternix shell github:nixos/nixpkgs/master#gitfails (it is sent signal 9 by the OS)This appears to be a codesigning issue: (from the system log)
Forcing nix to build git locally solves the problem:
nix-shell --pure --run "git"withdefault.nix:Steps To Reproduce
Steps to reproduce the behavior:
zsh: killed gitExpected 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.