Created
September 30, 2023 15:32
-
-
Save samuela/ca580efaa45ebc3912f32739408a3c26 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
# Last updated: 2023-09-29. Check for new commits at https://status.nixos.org. | |
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/f3dab3509afca932f3f4fd0908957709bb1c1f57.tar.gz"; | |
stage0 = import nixpkgs {}; | |
nixpkgs-patched = stage0.applyPatches { | |
name = "nixpkgs-patched"; | |
src = nixpkgs; | |
patches = [ | |
# https://github.com/NixOS/nixpkgs/pull/258084 | |
(stage0.fetchpatch { | |
url = "https://github.com/NixOS/nixpkgs/commit/005e4b69839c4cd38fd1d2fb033f0b7bbf1c6295.patch"; | |
hash = "sha256-fotFcSOdWci+Yo/FUSr8/7N5I0lNnhsTFvYolsuZvDc="; | |
}) | |
# https://github.com/NixOS/nixpkgs/pull/258133 | |
(stage0.fetchpatch { | |
url = "https://github.com/NixOS/nixpkgs/commit/97afe3b9eccf32f25cd4eb35a1cf1d508ba80959.patch"; | |
hash = "sha256-sqPY+rgH9ud7UPdqPEUiPsAxMF71zLcL8ywaufNyves="; | |
}) | |
]; | |
}; | |
pkgs = import nixpkgs-patched { config.allowUnfree = true; }; | |
in | |
pkgs.mkShell { | |
buildInputs = with pkgs; [ ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also https://www.ertt.ca/nix/patch-nixpkgs/