git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #48812 from mpickering/cedille

cedille bug fixes

commitb6a5cd897068298934583c5a8139d9112521f6fa authorJoachim F <joachifm@users.noreply.github.com> dateWed 24 Oct 2018, 15:29 (8 years ago) parent4769c7c08e5ef2
1 file changed+14−1
pkgs/applications/science/logic/cedille/default.nix+14−1
pkgs/applications/science/logic/cedille/default.nix+14−1
@@ -1,5 +1,13 @@
11{ stdenv, lib, fetchFromGitHub, alex, happy, Agda, agdaIowaStdlib,
2− buildPlatform, buildPackages, ghcWithPackages }:
2+ buildPlatform, buildPackages, ghcWithPackages, fetchpatch }:
3+let
4+ options-patch =
5+ fetchpatch {
6+ url = https://github.com/cedille/cedille/commit/ee62b0fabde6c4f7299a3778868519255cc4a64f.patch;
7+ name = "options.patch";
8+ sha256 = "19xzn9sqpfnfqikqy1x9lb9mb6722kbgvrapl6cf8ckcw8cfj8cz";
9+ };
10+in
311stdenv.mkDerivation rec {
412 version = "1.0.0";
513 name = "cedille-${version}";
@@ -11,6 +19,8 @@ stdenv.mkDerivation rec {
1119 };
1220 buildInputs = [ alex happy Agda (ghcWithPackages (ps: [ps.ieee])) ];
1321
22+ patches = [options-patch];
23+
1424 LANG = "en_US.UTF-8";
1525 LOCALE_ARCHIVE =
1626 lib.optionalString (buildPlatform.libc == "glibc")
@@ -22,9 +32,12 @@ stdenv.mkDerivation rec {
2232 chmod -R 755 ial
2333 '';
2434
35+ outputs = ["out" "lib"];
36+
2537 installPhase = ''
2638 mkdir -p $out/bin
2739 mv cedille $out/bin/cedille
40+ mv lib $lib
2841 '';
2942
3043 meta = {