How to fetch Nixpkgs with an empty NIX PATH: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

30 October 2024

2 December 2020

  • curprev 00:3500:35, 2 December 2020imported>Gabriel439 1,027 bytes −2,339 Simplify the instructions to just Nix 2 now that Nix 1 is fairly old now.

1 January 2019

13 October 2018

16 August 2018

  • curprev 16:4716:47, 16 August 2018imported>Gabriel439 3,037 bytes +808 Show how to simplify the recipe if one doesn't need to support pre-2.0 Nix
  • curprev 16:3916:39, 16 August 2018imported>Gabriel439 2,229 bytes −22 Rename `outputSha256` field to `sha256` - Now that there is only one argument for a SHA-256 hash we can rename it to `sha256` for consistency with other Nix utilities
  • curprev 16:3416:34, 16 August 2018imported>Gabriel439 2,251 bytes −144 Remove `sha256` argument to `fetchNixpkgs` in favor of making `outputSha256` required. Reasons: (A) Nix 2.0 doesn't require `sha256`, (B) `outputSha256` subsumes `sha256`, (C) not required (<nix/fetchurl.nix> accepts `sha256 = null`)

29 March 2018

  • curprev 17:5317:53, 29 March 2018imported>Ixmatus 2,395 bytes +118 Make fetchNixpkgs use a fixed-output nixpkgs derivation and use the outputSha256 hash for builtins.fetchTarball; additionally, use if then else instead

14 November 2017

7 November 2017

3 November 2017

  • curprev 17:5217:52, 3 November 2017imported>Gabriel439 1,830 bytes +57 No edit summary
  • curprev 16:5016:50, 3 November 2017imported>Gabriel439 1,773 bytes +61 No edit summary
  • curprev 16:4916:49, 3 November 2017imported>Gabriel439 1,712 bytes +1,712 Created page with " <syntaxhighlight lang="nix"> # This file provides a way to fetch `nixpkgs` with an empty `NIX_PATH`. This # comes in handy if you want to remove impure references to the `NI..."