Comments (1)
I'm running into this problem also. I was previously testing devbox
out using nix-installer from this repo and it was working great. But I don't think I want to keep using a wrapper tool, so i removed all that and restarted with just the nix-installer.
I receive the error from this issue exactly as stated by @pauldoo .
I don't know why it's trying to invoke fish. I leave bash as my login shell for POSIX reasons, and inherit that environment by launching exec fish ...
later.
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
fixes it, but i thought . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
was meant to be included in my bash startup by the installer. This would inherit just fine for me in fish (or I could just keep using bash, same difference) and I actually prefer it personally.
For now, I've added this to my .bashrc
:
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec fish $LOGIN_OPTION
fi
I'm using home-manager
to do this, but I snipped the absolute paths to the executables here.
However, the solution feels wrong, mostly because I did not need to do this yesterday.
from nix-installer.
Related Issues (20)
- MacOS 15.0 Beta broke users - attempting to re-install HOT 2
- nix-installer not placing nix on path in arch linux
- Crashes with `trying to unpack outside of destination path: /nix/temp-install-dir` if `/nix/temp-install-dir` exists
- Can't install or repair due to corrupted Nix store HOT 1
- nix-installer is inconsistent about what it does with nix-daemon.service
- --force has no effect if `nix-daemon.service` already exists
- Feature request: `/nix/nix-installer uninstall --keep-store`
- "uninstall" deletes files beyond those it says it will delete
- <autogenerated-issue>
- linux-multi - No such file or directory (os error 2)
- `/Library/LaunchDaemons/org.nixos.darwin-store.plist` contents differs HOT 1
- <autogenerated-issue> HOT 1
- <autogenerated-issue> HOT 1
- user id 301 already exists on macOS 15 HOT 2
- Installer macOs do not work on MacOs 15.0 cause user Ids 301-304 are taken HOT 1
- `/nix/var` exists with a different uid (1000) than planned (0) HOT 5
- nixpkgs channel not found after install
- Failed to execute command `"mount" "-d"`: No such file or directory HOT 2
- error while trying to install nix on macOS 15 <autogenerated-issue> HOT 2
- SELinux error when /nix is a ZFS dataset HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-installer.