add channel patch example

This commit is contained in:
nyanloutre 2022-07-20 15:34:53 +02:00
parent ab6d9dc848
commit 756e619a1d
Signed by: nyanloutre
GPG Key ID: 194A92D1103ACB2A
1 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,16 @@
supportedSystems = [ "x86_64-linux" ]; supportedSystems = [ "x86_64-linux" ];
# Patch example
# channels.nixpkgs-unstable.patches = [
# (nixpkgs-unstable.legacyPackages."x86_64-linux".fetchpatch {
# name = "electron-cash.patch";
# url = "https://github.com/NixOS/nixpkgs/pull/160607.patch";
# sha256 = "sha256-oQbiyhVWYIkEuZEKqaPuIL00PNPnuTAw64wuqZ8YeDs=";
# })
# ];
hostDefaults.modules = [ hostDefaults.modules = [
nixpkgs.nixosModules.notDetected nixpkgs.nixosModules.notDetected
{ {