mirror of
https://github.com/justinwoo/easy-dhall-nix.git
synced 2024-11-26 21:19:42 +01:00
Add src for Darwin builds. Fixes #5.
This commit is contained in:
parent
83158cb4bb
commit
21e4726e7a
3 changed files with 27 additions and 13 deletions
|
@ -3,7 +3,12 @@
|
|||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "dhall-bash-simple";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
src = if pkgs.stdenv.isDarwin
|
||||
then pkgs.fetchurl {
|
||||
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/1.25.0/dhall-bash-1.0.22-x86_64-macos.tar.bz2";
|
||||
sha256 = "1dqahd3rnsi8rh14cxyn7xvzg9p9brjqmymy085a1iq2bykqydp1";
|
||||
}
|
||||
else pkgs.fetchurl {
|
||||
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/1.25.0/dhall-bash-1.0.22-x86_64-linux.tar.bz2";
|
||||
sha256 = "1849qacj6xk3ki8hyw3862jrabq2gp44sjay0r9iiygifzm51pk6";
|
||||
};
|
||||
|
|
|
@ -3,7 +3,12 @@
|
|||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "dhall-json-simple";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
src = if pkgs.stdenv.isDarwin
|
||||
then pkgs.fetchurl {
|
||||
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/1.25.0/dhall-json-1.4.0-x86_64-macos.tar.bz2";
|
||||
sha256 = "0427xy59mzyrz978l36x0ha610bpckg14m3svkvg8hipvblgh19r";
|
||||
}
|
||||
else pkgs.fetchurl {
|
||||
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/1.25.0/dhall-json-1.4.0-x86_64-linux.tar.bz2";
|
||||
sha256 = "14apqq0dj3lmm8yccygf8bb27scxjfkjkmr8zgnwb98znr51gfwn";
|
||||
};
|
||||
|
|
|
@ -2,8 +2,12 @@
|
|||
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "dhall-simple";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
src = if pkgs.stdenv.isDarwin
|
||||
then pkgs.fetchurl {
|
||||
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/1.25.0/dhall-1.25.0-x86_64-macos.tar.bz2";
|
||||
sha256 = "1ar1wh0kp1fn0xbr60b61bkj4q3bd2k0df6lgzyqngbjackx2yn2";
|
||||
}
|
||||
else pkgs.fetchurl {
|
||||
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/1.25.0/dhall-1.25.0-x86_64-linux.tar.bz2";
|
||||
sha256 = "12w2549mx4js7dz4qjcrps6nivj37ikg3daybl5fskshdyf44ia7";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue