Skip to content

Commit

Permalink
Add release note
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Dec 9, 2024
1 parent 78abd11 commit 8fd798a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/manual/rl-next/get-flake-overrides.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
synopsis: "`builtins.getFlake` allows inputs to be overriden"
prs: [11952]
---

`builtins.getFlake` now allows you to override the inputs of a flake, using the same override mechanism used for flake inputs in `flake.nix`. For example, to fetch and call the `NixOS/nix` flake and override its `nixpkgs` input:

```nix
builtins.getFlake {
url = "github:NixOS/nix/55bc52401966fbffa525c574c14f67b00bc4fb3a";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/c69a9bffbecde46b4b939465422ddc59493d3e4d";
}
```

0 comments on commit 8fd798a

Please sign in to comment.