Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 20e349a3029a
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e932b5be269f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 23, 2018

  1. Merge pull request #39342 from samueldr/fix/nixos-enter-efivarfs

    nixos-enter: Ensures presence of full /sys tree. (for efivarfs)
    (cherry picked from commit 6048470)
    7c6f434c committed Apr 23, 2018
    Copy the full SHA
    e932b5b View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 nixos/modules/installer/tools/nixos-enter.sh
3 changes: 2 additions & 1 deletion nixos/modules/installer/tools/nixos-enter.sh
Original file line number Diff line number Diff line change
@@ -51,8 +51,9 @@ if [[ ! -e $mountPoint/etc/NIXOS ]]; then
exit 126
fi

mkdir -m 0755 -p "$mountPoint/dev"
mkdir -m 0755 -p "$mountPoint/dev" "$mountPoint/sys"
mount --rbind /dev "$mountPoint/dev"
mount --rbind /sys "$mountPoint/sys"

# Run the activation script. Set $LOCALE_ARCHIVE to supress some Perl locale warnings.
LOCALE_ARCHIVE=$system/sw/lib/locale/locale-archive chroot "$mountPoint" "$system/activate" >&2 || true