-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Platform
- Linux:
- macOS -- aarch64 darwin.
- WSL
Additional information
Set NIX_SSL_CERT_FILE to the internal certificate file.
Output
nix-shell -p nix-info --run "nix-info -m"
error:
… <borked>
at «none»:0: (source not available)
… while calling the 'import' builtin
at «string»:1:18:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (nix-info) ]; } ""
| ^
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
nix-shell -p nix-info --run "nix-info -m"
error:
… <borked>
at «none»:0: (source not available)
… while calling the 'import' builtin
at «string»:1:18:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (nix-info) ]; } ""
| ^
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
Added above. but some of the output from the installer is listed here.
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo cp /etc/bash.bashrc /etc/bash.bashrc.backup-before-nix
to back up your current /etc/bash.bashrc to /etc/bash.bashrc.backup-before-nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/bash.bashrc
extend your /etc/bash.bashrc with nix-daemon settings
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
~~> Setting up shell profiles for Fish with with conf.d/nix.fish inside /etc/fish /usr/local/etc/fish /opt/homebrew/etc/fish /opt/local/etc/fish
~~> Setting up the default profile
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root /nix/store/4x9975rdvy4r0mybf8ic2ry9j5b0ag2g-nix-2.14.0/bin/nix-env -i /nix/store/4x9975rdvy4r0mybf8ic2ry9j5b0ag2g-nix-2.14.0
to install a bootstrapping Nix in to the default profile
installing 'nix-2.14.0'
building '/nix/store/0p5xxbqbqdjqknjp7p60f6j05y4s0hx9-user-environment.drv'...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root NIX_SSL_CERT_FILE=/Library/Application Support/Netskope/STAgent/download/nscacert_combined.pem /nix/store/4x9975rdvy4r0mybf8ic2ry9j5b0ag2g-nix-2.14.0/bin/nix-channel --update nixpkgs
to update the default channel in the default profile
unpacking channels...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -m 0664 /var/folders/p2/dsnj50zn5kb1xs6sd9xw76zw0000gq/T/tmp.yvANIt7W/nix.conf /etc/nix/nix.conf
to place the default nix daemon configuration (part 2)
~~> Setting up the nix-daemon LaunchDaemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /bin/cp -f /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist /Library/LaunchDaemons/org.nixos.nix-daemon.plist
to set up the nix-daemon as a LaunchDaemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist
to load the LaunchDaemon plist for nix-daemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo launchctl kickstart -k system/org.nixos.nix-daemon
to start the nix-daemon
Alright! We're done!
Try it! Open a new terminal, and type:
$ nix-shell -p nix-info --run "nix-info -m"
Thank you for using this installer. If you have any feedback or need
help, don't hesitate:
You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md
Or get in touch with the community: https://nixos.org/community
---- Reminders -----------------------------------------------------------------
[ 1 ]
Nix won't work in active shell sessions until you restart them.
I also do not find ~/.nix-profile .
I am using zsh as the default shell for my user.
I closed the Terminal Process on mac and then ran the nix-shell command and get this error.
Shell environment variables
__CFBundleIdentifier=com.apple.Terminal
TMPDIR=/var/folders/p2/dsnj50zn5kb1xs6sd9xw76zw0000gq/T/
TERM=xterm-256color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=445
TERM_SESSION_ID=780966DA-56FF-4D56-B23E-4D3BB316A8AC
SHELL=/bin/zsh
HOME=/Users/mkodnani
PATH=/Users/mkodnani/.local/state/nix/profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/podman/bin
SHLVL=1
PWD=/Users/mkodnani
OLDPWD=/Users/mkodnani
NIX_PROFILES=/nix/var/nix/profiles/default /Users/mkodnani/.local/state/nix/profile
SSL_CERT_FILE=/Library/Application Support/Netskope/STAgent/download/nscacert_combined.pem
NIX_SSL_CERT_FILE=/Library/Application Support/Netskope/STAgent/download/nscacert_combined.pem
REQUESTS_CA_BUNDLE=/Library/Application Support/Netskope/STAgent/download/nscacert_combined.pem
CURL_CA_BUNDLE=/Library/Application Support/Netskope/STAgent/download/nscacert_combined.pem
LANG=en_US.UTF-8
_=/usr/bin/env
Priorities
Add 👍 to issues you find important.
Reactions are currently unavailable