Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created August 2, 2017 19:16
Show Gist options
  • Save infinisil/2314897d7d03618e6844943d1f8aaef2 to your computer and use it in GitHub Desktop.
Save infinisil/2314897d7d03618e6844943d1f8aaef2 to your computer and use it in GitHub Desktop.
Command: nixos-version (present)
17.09.git.a7c8f5e (Hummingbird)
Command: lsb_release -a (absent)
Command: nix-env --version (present)
nix-env (Nix) 1.12pre5511_c94f3d55
Command: nix-instantiate --eval <nixpkgs> -A lib.nixpkgsVersion (present)
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
Command: env | grep -iE "^nix"
NIX_REMOTE=daemon
NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/infinisil/.nix-profile /etc/per-user-pkgs/infinisil
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_CONF_DIR=/etc/nix
NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/infinisil
NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
NIX_GHC=/nix/store/gc1vfpl6f3y3nb39p4yf3djavqdfj3g9-ghc-8.0.2-with-packages/bin/ghc
File: /etc/os-release (present)
NAME=NixOS
ID=nixos
VERSION="17.09.git.a7c8f5e (Hummingbird)"
VERSION_CODENAME=hummingbird
VERSION_ID="17.09.git.a7c8f5e"
PRETTY_NAME="NixOS 17.09.git.a7c8f5e (Hummingbird)"
HOME_URL="https://nixos.org/"
SUPPORT_URL="https://nixos.org/nixos/support.html"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
File: /etc/NIXOS (present)
Command: grep build-use-sandbox /etc/nix/nix.conf (present)
build-use-sandbox = true
Command: nix-instantiate -v <nixpkgs> -A hello (present)
evaluating file ‘/nix/store/g1rivd2xy9k1gvaknm0x4lw6l6z10pds-nix-1.12pre5511_c94f3d55/share/ni
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’
error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
Command: nix-channel --list (present)
nixos https://nixos.org/channels/nixos-unstable
Command: sudo nix-channel --list (present)
Command: ls -lh /nix/var/nix/profiles/per-user/infinisil/channels/ /nix/var/nix/profiles/per-user/root/channels/ (present)
/nix/var/nix/profiles/per-user/infinisil/channels/:
total 1.5K
lrwxrwxrwx 2 root root 89 Jan 1 1970 binary-caches -> /nix/store/6igd9is5cbn9p8dzva603hlhirj0daaz-nixos-17.09pre111447.a7c8f5e419/binary-caches
lrwxrwxrwx 2 root root 60 Jan 1 1970 manifest.nix -> /nix/store/as3x26x9i910727pmyryswbsa50igg0j-env-manifest.nix
lrwxrwxrwx 2 root root 81 Jan 1 1970 nixos -> /nix/store/6igd9is5cbn9p8dzva603hlhirj0daaz-nixos-17.09pre111447.a7c8f5e419/nixos
/nix/var/nix/profiles/per-user/root/channels/:
total 512
lrwxrwxrwx 3 root root 60 Jan 1 1970 manifest.nix -> /nix/store/w213fg5zb7df8h1wsldqpqi7yk9d80rk-env-manifest.nix
========================================================================
+ sudo nix-channel --remove nixos
+ sudo nix-channel --update
unpacking channels...
+ set +x
========================================================================
Command: nixos-version (present)
17.09.git.a7c8f5e (Hummingbird)
Command: lsb_release -a (absent)
Command: nix-env --version (present)
nix-env (Nix) 1.12pre5511_c94f3d55
Command: nix-instantiate --eval <nixpkgs> -A lib.nixpkgsVersion (present)
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
Command: env | grep -iE "^nix"
NIX_REMOTE=daemon
NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/infinisil/.nix-profile /etc/per-user-pkgs/infinisil
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_CONF_DIR=/etc/nix
NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/infinisil
NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
NIX_GHC=/nix/store/gc1vfpl6f3y3nb39p4yf3djavqdfj3g9-ghc-8.0.2-with-packages/bin/ghc
File: /etc/os-release (present)
NAME=NixOS
ID=nixos
VERSION="17.09.git.a7c8f5e (Hummingbird)"
VERSION_CODENAME=hummingbird
VERSION_ID="17.09.git.a7c8f5e"
PRETTY_NAME="NixOS 17.09.git.a7c8f5e (Hummingbird)"
HOME_URL="https://nixos.org/"
SUPPORT_URL="https://nixos.org/nixos/support.html"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
File: /etc/NIXOS (present)
Command: grep build-use-sandbox /etc/nix/nix.conf (present)
build-use-sandbox = true
Command: nix-instantiate -v <nixpkgs> -A hello (present)
evaluating file ‘/nix/store/g1rivd2xy9k1gvaknm0x4lw6l6z10pds-nix-1.12pre5511_c94f3d55/share/ni
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’
error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
Command: nix-channel --list (present)
nixos https://nixos.org/channels/nixos-unstable
Command: sudo nix-channel --list (present)
Command: ls -lh /nix/var/nix/profiles/per-user/infinisil/channels/ /nix/var/nix/profiles/per-user/root/channels/ (present)
/nix/var/nix/profiles/per-user/infinisil/channels/:
total 1.5K
lrwxrwxrwx 2 root root 89 Jan 1 1970 binary-caches -> /nix/store/6igd9is5cbn9p8dzva603hlhirj0daaz-nixos-17.09pre111447.a7c8f5e419/binary-caches
lrwxrwxrwx 2 root root 60 Jan 1 1970 manifest.nix -> /nix/store/as3x26x9i910727pmyryswbsa50igg0j-env-manifest.nix
lrwxrwxrwx 2 root root 81 Jan 1 1970 nixos -> /nix/store/6igd9is5cbn9p8dzva603hlhirj0daaz-nixos-17.09pre111447.a7c8f5e419/nixos
/nix/var/nix/profiles/per-user/root/channels/:
total 512
lrwxrwxrwx 3 root root 60 Jan 1 1970 manifest.nix -> /nix/store/w213fg5zb7df8h1wsldqpqi7yk9d80rk-env-manifest.nix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment