Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 1, 2025

Motivation

On my system (Ubuntu 24.04 with nix installed using https://zero-to-nix.com/), I noticed that my PATH contained multiple times the following entries:

  /home/thomas/.nix-profile/bin
  /nix/var/nix/profiles/default/bin

Fix it by inserting a missing export in nix-daemon.sh, so that it really gets executed only once.

Context

Related: #5950.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #12805 done by [Mergify](https://mergify.com).

On my system (Ubuntu 24.04 with nix installed using
https://zero-to-nix.com/), I noticed that my PATH
contained multiple times the following entries:

  /home/thomas/.nix-profile/bin
  /nix/var/nix/profiles/default/bin

Fix it by inserting a missing `export`, to make
sure `nix-daemon.sh` is really only executed once.

(cherry picked from commit 2b4e3fa)
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Apr 1, 2025
@mergify mergify bot requested a review from edolstra as a code owner April 1, 2025 06:48
@mergify mergify bot merged commit 53e3bbd into 2.28-maintenance Apr 1, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.28-maintenance/pr-12805 branch April 1, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant