Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/release-notes/rl-2511.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@

- New hardening flags, `strictflexarrays1` and `strictflexarrays3` were made available, corresponding to the gcc/clang options `-fstrict-flex-arrays=1` and `-fstrict-flex-arrays=3` respectively.

- New package set variant `pkgsUnfree` has the same effect as using `config.allowUnfree = true;`, allowing for pure evaluation of unfree packages, for example: `pkgsUnfree.hello-unfree`.

- `gramps` has been updated to 6.0.0
Upstream recommends [backing up your Family Trees](https://gramps-project.org/wiki/index.php/Gramps_6.0_Wiki_Manual_-_Manage_Family_Trees#Backing_up_a_Family_Tree) before upgrading.

Expand Down
6 changes: 6 additions & 0 deletions doc/using/configuration.chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ There are several ways to tweak how Nix handles a package which has been marked

A complete list of licenses can be found in the file `lib/licenses.nix` of the nixpkgs tree.

- Use the `pkgsUnfree` variant:

```ShellSession
$ nix-build -A pkgsUnfree.hello-unfree
```

## Installing insecure packages {#sec-allow-insecure}

There are several ways to tweak how Nix handles a package which has been marked as insecure.
Expand Down
8 changes: 8 additions & 0 deletions pkgs/top-level/variants.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ let
);
in
self: super: {

# Full package set with unfree packages enabled.
pkgsUnfree = nixpkgsFun {
config = super.config // {
allowUnfree = true;
};
};

pkgsLLVM = nixpkgsFun {
overlays = [
(self': super': {
Expand Down
Loading