purenix: unbreak package by adapting to purescript 0.15.12

purenix has not been updated in a while. My fix was “merged into a
staging branch” (read: ignored) because their nix setup is broken.

https://github.com/purenix-org/purenix/pull/60
This commit is contained in:
Profpatsch 2024-07-21 16:23:39 +02:00
parent b72155f0fa
commit 6bdcad109f
3 changed files with 18 additions and 3 deletions

View File

@ -2781,7 +2781,24 @@ self: super: {
(self.generateOptparseApplicativeCompletions [ "purs" ])
]);
purenix = super.purenix.overrideScope purescriptOverlay;
purenix =
lib.pipe
(super.purenix.overrideScope purescriptOverlay)
[
(appendPatches [
# https://github.com/purenix-org/purenix/pull/63
(pkgs.fetchpatch {
name = "purenix-purescript-0_15_12";
url = "https://github.com/purenix-org/purenix/commit/2dae563f887c7c8daf3dd3e292ee3580cb70d528.patch";
hash = "sha256-EZXf95BJINyqnRb2t/Ao/9C8ttNp3A27rpKiEKJjO6Y=";
})
(pkgs.fetchpatch {
name = "purenix-import-fix";
url = "https://github.com/purenix-org/purenix/commit/f1890690264e7e5ce7f5b0a32d73d910ce2cbd73.patch";
hash = "sha256-MRITcNOiaWmzlTd9l7sIz/LhlnpW8T02CXdcc1qQt3c=";
})
])
];
})
purescript
purenix

View File

@ -3251,7 +3251,6 @@ dont-distribute-packages:
- puppetresources
- pure-cdb
- pure-priority-queue-tests
- purenix
- purescript-iso
- purescript-tsd-gen
- pursuit-client

View File

@ -248885,7 +248885,6 @@ self: {
executableHaskellDepends = [ base ];
description = "Nix backend for PureScript. Transpile PureScript code to Nix.";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "purenix";
}) {};