[PR #5131] [MERGED] Whitelist for NixOS to resolve binary paths in user environment #5371

Closed
opened 2026-05-05 10:37:11 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5131
Author: @onny
Created: 5/6/2022
Status: Merged
Merged: 5/7/2022
Merged by: @reinerh

Base: masterHead: nixos-whitelist


📝 Commits (1)

  • 0cafd97 Whitelist for NixOS to resolve binary paths in user environment

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 etc/inc/whitelist-common.inc (+4 -0)

📄 Description

This PR fixes an issue on NixOS where you cannot use firejail like this:

firejail chromium

it fails with Error: no suitable chromium executable found.

This is because chromium is usually a symlink in ~/.nix-profile to the binary in the NixOS store. After whitelisting ~/.nix-profile running

firejail chromium

works :)

Solves downstream issue https://github.com/NixOS/nixpkgs/issues/170784


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5131 **Author:** [@onny](https://github.com/onny) **Created:** 5/6/2022 **Status:** ✅ Merged **Merged:** 5/7/2022 **Merged by:** [@reinerh](https://github.com/reinerh) **Base:** `master` ← **Head:** `nixos-whitelist` --- ### 📝 Commits (1) - [`0cafd97`](https://github.com/netblue30/firejail/commit/0cafd9775af479470336681abb1f3d2db0671283) Whitelist for NixOS to resolve binary paths in user environment ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/inc/whitelist-common.inc` (+4 -0) </details> ### 📄 Description This PR fixes an issue on NixOS where you cannot use firejail like this: ``` firejail chromium ``` it fails with `Error: no suitable chromium executable found`. This is because `chromium` is usually a symlink in `~/.nix-profile` to the binary in the NixOS store. After whitelisting `~/.nix-profile` running ``` firejail chromium ``` works :) Solves downstream issue https://github.com/NixOS/nixpkgs/issues/170784 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:37:11 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5371
No description provided.