# Librewolf Marked as Insecure

**URL:** https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372
**Category:** Help
**Created:** [June 18, 2026, 5:34pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372 "2026-06-18T17:34:11Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![vcunat](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vcunat/32/11_2.png) [@vcunat](https://discourse.nixos.org/u/vcunat)
#### Post date: [August 7, 2026, 9:23am UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/21 "2026-08-07T09:23:25Z")

</div>

Yes, but note that this topic is outdated. `librewolf` is being kept up to date currently.

---

<div class="post-metadata">

### Author: ![ammaratef45](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/a/a87d85/32.png) [@ammaratef45](https://discourse.nixos.org/u/ammaratef45)
#### Post date: [August 8, 2026, 4:31pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/22 "2026-08-08T16:31:52Z")

</div>

huh, I still get an error when I try to update the system

```auto
$ sudo nixos-rebuild switch --upgrade-all
unpacking 2 channels…
unpacking 2 channels…
building the system configuration…
error:
… while calling the ‘head’ builtin
at /nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/lib/attrsets.nix:1696:13:
1695| if length values == 1 || pred here (elemAt values 1) (head values) then
1696| head values
| ^
1697| else

   … while evaluating the attribute 'value'
     at /nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/lib/modules.nix:1118:7:
     1117| // {
     1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
         | ^
     1119| inherit (res.defsFinal') highestPrio;

   … while evaluating the option `system.build.toplevel':

   … while evaluating definitions from `/nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/nixos/modules/system/activation/top-level.nix':

   … while evaluating the option `system.systemBuilderArgs':

   … while evaluating definitions from `/nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/nixos/modules/system/activation/activatable-system.nix':

   … while evaluating the option `system.activationScripts.etc.text':

   … while evaluating definitions from `/nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/nixos/modules/system/etc/etc-activation.nix':

   … while evaluating definitions from `/nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/nixos/modules/system/etc/etc.nix':

   … while evaluating the option `environment.etc."profiles/per-user/ammar".source':

   (stack trace truncated; use '--show-trace' to show the full, detailed trace)

   error: Package ‘librewolf-152.0.2-1’ in /nix/store/l7wvb6rqjjxidjdk9yv9p1a075lvjhq9-nixos-25.11/nixos/pkgs/applications/networking/browsers/firefox/wrapper.nix:577 is marked as insecure, refusing to evaluate.

   Known issues:
    - librewolf lacks an active committer in nixpkgs, consider using an alternative

   You can install it anyway by allowing this package, using the
   following methods:

   a) To temporarily allow all insecure packages, you can use an environment
      variable for a single invocation of the nix tools:

        $ export NIXPKGS_ALLOW_INSECURE=1

      Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
            then pass `--impure` in order to allow use of environment variables.

   b) for `nixos-rebuild` you can add ‘librewolf-152.0.2-1’ to
      `nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
      like so:

        {
          nixpkgs.config.permittedInsecurePackages = [
            "librewolf-152.0.2-1"
          ];
        }

   c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
      ‘librewolf-152.0.2-1’ to `permittedInsecurePackages` in
      ~/.config/nixpkgs/config.nix, like so:

        {
          permittedInsecurePackages = [
            "librewolf-152.0.2-1"
          ];
        }

Command ‘nix-build ‘<nixpkgs/nixos>’ --attr config.system.build.toplevel --no-out-link’ returned non-zero exit status 1.

```

---

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixos.org/user_avatar/discourse.nixos.org/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixos.org/u/waffle8946)
#### Post date: [August 8, 2026, 4:33pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/23 "2026-08-08T16:33:11Z")

</div>

Your channel is outdated, so update that first.

---

<div class="post-metadata">

### Author: ![ammaratef45](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/a/a87d85/32.png) [@ammaratef45](https://discourse.nixos.org/u/ammaratef45)
#### Post date: [August 8, 2026, 4:39pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/24 "2026-08-08T16:39:08Z")

</div>

I thought `--upgrade` handles updating channels automatically? anyways I tried again after `sudo nix-channel --update` and it’s the same output

---

<div class="post-metadata">

### Author: ![vcunat](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vcunat/32/11_2.png) [@vcunat](https://discourse.nixos.org/u/vcunat)
#### Post date: [August 8, 2026, 4:50pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/25 "2026-08-08T16:50:51Z")

</div>

> [@ammaratef45](#):
>
> `25.11`

That one is dead already. The only maintained stable is 26.05 currently. (and there’s unstable, too)

---

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixos.org/user_avatar/discourse.nixos.org/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixos.org/u/waffle8946)
#### Post date: [August 8, 2026, 5:19pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/26 "2026-08-08T17:19:40Z")

</div>

> [@ammaratef45](#):
>
> I thought `--upgrade` handles updating channels automatically?

No, it only updates one channel (root’s `nixos` channel), while `--upgrade-all` updates all of them. But yeah you need to be using 26.05, I missed the 25.11 mentioned there. Releases are in Year.Month format, and you had the month after that to upgrade. After July 2026, 25.11 was no longer supported.

Similar steps to below:

> [@Programs.hyprland does not exist](https://discourse.nixos.org/t/programs-hyprland-does-not-exist/62078/8):
>
> There you go. Use 24.11 instead. sudo nix-channel --add https://nixos.org/channels/nixos-24.11 nixos sudo nix-channel --update Then rebuild. You’ll want to do this (replacing 24.11 with the actual current release) every 6 months (every June and December), or you’ll stop getting updates. For example, at the end of May (so in a little over 2 months), you’ll want to switch to nixos-25.05.

(But replace 24.11 with 26.05 obviously.)

And _ **do not touch stateVersion in your config. Ever.** _

---

<div class="post-metadata">

### Author: ![ammaratef45](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/a/a87d85/32.png) [@ammaratef45](https://discourse.nixos.org/u/ammaratef45)
#### Post date: [August 9, 2026, 8:20pm UTC](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372/27 "2026-08-09T20:20:31Z")

</div>

thanks a lot, I didn’t know I have to manually upgrade the channel version, but now I know hehe! \<3

[Previous page](https://discourse.nixos.org/t/librewolf-marked-as-insecure/78372.md?page=1)
