Comments (2)
Which is presumably because the NIX_PATH environment variable is not set.
I don't think these paths would be checked if the environment variable was not set.
It looks like they're set by PAM from /etc/pam/environment
Do you know how that could be fixed?
It looks like the channel is defined
[root@bpir3:~]# nix-channel --list
nixos https://nixos.org/channels/nixos-unstable
After I run the following it populates
[root@bpir3:~]# nix-info
system: "aarch64-linux", multi-user?: no, version: nix-env (Nix) 2.13.3, nixpkgs: not found
[root@bpir3:~]# nix-channel --update
unpacking channels...
[root@bpir3:~]# nix-info
system: "aarch64-linux", multi-user?: yes, version: nix-env (Nix) 2.13.3, channels(root): "nixos", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
Looking into it, it looks like it's normally pre-populated on "installation media" via <nixpkgs>/nixos/modules/installer/cd-dvd/channel.nix
.
It's not very obvious, but it looks like that is intended to be included in "golden images" as well, and it takes care of doing a one-time command at boot to set it up to a copy of nixpkgs in the nix-store included in the filesystem.
This was an interesting one, it looks like I never ran into this one because I manage the device entirely via nix-command (nix shell instead of nix-shell) and flakes, and my in-service router still doesn't have those channel links.
from nixos-bpir3-example.
Thanks for the explanation, updating channel information fixed the issue 👍
from nixos-bpir3-example.
Related Issues (10)
- consider contribution to nixos-aarch64 image HOT 2
- what driver is responsible for mmcblk devices? HOT 2
- No space left on device while building SD card image HOT 2
- Cannot get wifi to work HOT 3
- Switching to more recent kernel HOT 7
- enable hardware flow offloading HOT 14
- No space left on a device HOT 4
- Question regarding cross-compilation HOT 1
- Just letting you (and other people) know the kernel config has changed in 6.6 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 nixos-bpir3-example.