You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
General fixupPhase patchShebangs strategy is in conflict with OS X (and BSD flavor) for wrapped interpreter #238
A stdenv derivation replaces shebang line in shell scripts during fixupPhase. Current strategy is that when this meets #!/usr/bin/env (interpreter command), it replaces the whole line with actual command for the interpreter. Therefore, for example, the first line of a python script starting with
Is this really the wrong place to post such an issue (I also have one)?
I thought that nixpkgs is for package descriptions (rules to build them), whereas this looks like an issue in the tool that manages the building and installing of packages, namely nix, doesn't it?
Have there been any follow-up messages to your issue report?
@shlevy Ok, thanks for the clarification! I'm just getting to know nix, trying things out.
(And my issue turned out not to be an issue of nix. Strangely, a script installed user-locally under nix failed to run in eshell in Emacs, whereas the same program could run this way when installed as a system package from my distro, and the path from shebang appeared in an error message. Actually, it runs well in a normal terminal, and I remembered that I had a similar issue with building stuff in a kind of sandbox from eshell, too. -- https://bugzilla.altlinux.org/show_bug.cgi?id=30673)
Activity
wavewave commentedon Apr 6, 2014
I posted this issue on rather wrong place. I reposted this on the nixpkgs issue list.
imz commentedon Jan 23, 2015
Is this really the wrong place to post such an issue (I also have one)?
I thought that nixpkgs is for package descriptions (rules to build them), whereas this looks like an issue in the tool that manages the building and installing of packages, namely nix, doesn't it?
Have there been any follow-up messages to your issue report?
shlevy commentedon Jan 23, 2015
@imz
patchShebangsis part of the standard environment for building packages in nixpkgs, nix itself knows nothing about it.imz commentedon Jan 23, 2015
@shlevy Ok, thanks for the clarification! I'm just getting to know nix, trying things out.
(And my issue turned out not to be an issue of nix. Strangely, a script installed user-locally under nix failed to run in eshell in Emacs, whereas the same program could run this way when installed as a system package from my distro, and the path from shebang appeared in an error message. Actually, it runs well in a normal terminal, and I remembered that I had a similar issue with building stuff in a kind of sandbox from eshell, too. -- https://bugzilla.altlinux.org/show_bug.cgi?id=30673)
Merge pull request NixOS#238 from worktheclock/patch-4
Merge pull request NixOS#238 from kolloch/dependabot/cargo/sample_pro…
Merge pull request NixOS#238 from DeterminateSystems/nario-import-opt…
doc/inventory: file NixOS#234-NixOS#238 from post-Batch-G adversarial…