Skip to content

Commit

Permalink
docker: Fix command "nix profile install", Don't require --impure
Browse files Browse the repository at this point in the history
(cherry picked from commit 61950c3)
  • Loading branch information
h0nIg authored and mergify[bot] committed Jan 10, 2025
1 parent e0c8b0f commit 26866ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,14 @@ let
mkdir -p $out/nix/var/nix/profiles/per-user/root
ln -s ${profile} $out/nix/var/nix/profiles/default-1-link
ln -s $out/nix/var/nix/profiles/default-1-link $out/nix/var/nix/profiles/default
ln -s /nix/var/nix/profiles/default-1-link $out/nix/var/nix/profiles/default
ln -s /nix/var/nix/profiles/default $out/root/.nix-profile
ln -s ${channel} $out/nix/var/nix/profiles/per-user/root/channels-1-link
ln -s $out/nix/var/nix/profiles/per-user/root/channels-1-link $out/nix/var/nix/profiles/per-user/root/channels
ln -s /nix/var/nix/profiles/per-user/root/channels-1-link $out/nix/var/nix/profiles/per-user/root/channels
mkdir -p $out/root/.nix-defexpr
ln -s $out/nix/var/nix/profiles/per-user/root/channels $out/root/.nix-defexpr/channels
ln -s /nix/var/nix/profiles/per-user/root/channels $out/root/.nix-defexpr/channels
echo "${channelURL} ${channelName}" > $out/root/.nix-channels
mkdir -p $out/bin $out/usr/bin
Expand Down

0 comments on commit 26866ee

Please sign in to comment.