mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
nixos-install: Fully resolve symlinks in the paths to nixos/nixpkgs sources.
This commit is contained in:
parent
98b7253b29
commit
5e88e9b2ff
|
@ -159,9 +159,8 @@ done
|
|||
|
||||
|
||||
# Get the absolute path to the NixOS/Nixpkgs sources.
|
||||
export NIX_PATH=${NIX_PATH+$NIX_PATH:}/nix/var/nix/profiles/per-user/root/channels/nixos
|
||||
nixpkgs_src=$(nix-instantiate --find-file nixpkgs)
|
||||
nixos_src=$(nix-instantiate --find-file nixos)
|
||||
nixpkgs_src=$(readlink -f $(nix-instantiate --find-file nixpkgs))
|
||||
nixos_src=$(readlink -f $(nix-instantiate --find-file nixos))
|
||||
|
||||
|
||||
# Build the specified Nix expression in the target store and install
|
||||
|
|
Loading…
Reference in a new issue