Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-shell FHS interop throws cryptic error #21

Closed
allancalix opened this issue Feb 27, 2022 · 1 comment
Closed

nix-shell FHS interop throws cryptic error #21

allancalix opened this issue Feb 27, 2022 · 1 comment

Comments

@allancalix
Copy link

Interesting idea, thanks for sharing the configurations. Wondering if anyone else has experienced issues with running nix-shell for tools that expect FHS systems. Using nix-shell without build an FHS environment seems to work fine.

Host System

OSX 12.2.1 - Apple M1 Pro

Shell Configuration

# shell.nix
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
   name = "dev";
   targetPkgs = pkgs : [];
}).env

Error thrown

** (process:25978): ERROR **: 18:24:13.384: main: execvp(*argv, argv): No such file or directory      │
fish: Job 1, 'nix-shell' terminated by signal SIGTRAP (Trace or breakpoint trap)
@mitchellh
Copy link
Owner

Going to close this as stale...

I have no idea and it seems no one else does either atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants