Created
September 20, 2021 19:07
-
-
Save InternetUnexplorer/b89749c5a0d6cdbded3d49d1f153d63b to your computer and use it in GitHub Desktop.
Nix shell providing CKAN with a patched version of Mono that fixes https://github.com/KSP-CKAN/CKAN/issues/3359
This file contains 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
{ pkgs ? import <nixpkgs> { } }: | |
let | |
patchedMono = pkgs.mono.overrideAttrs (old: { | |
patches = (old.patches or [ ]) ++ [ | |
(pkgs.fetchpatch { | |
url = "https://patch-diff.githubusercontent.com/raw/mono/mono/pull/21136.patch"; | |
sha256 = "sha256-4mUkkRl2IoNjkZN8+1Ps3kvI9Tu2BnH4YqeRZ6A/UMU="; | |
}) | |
]; | |
}); | |
in pkgs.mkShell { | |
buildInputs = with pkgs; [ (ckan.override (_: { mono = patchedMono; })) ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment