diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-06-21 00:13:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 00:13:19 +0000 |
commit | 260df62919ffc7c09044edb519f3beaa491cda0e (patch) | |
tree | 0b2b34c12219860fd7d15b9cfeaf0d5148ffa9b5 /pkgs/development/compilers/crystal/default.nix | |
parent | 3780de2d515bae803de26545cf5891c211a9846b (diff) | |
parent | 2de5e6838cd1480b9f1eae11c1c65ca2f32ae40c (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/compilers/crystal/default.nix')
-rw-r--r-- | pkgs/development/compilers/crystal/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix index f418d7a7af933..ba0f9b2ef4a4a 100644 --- a/pkgs/development/compilers/crystal/default.nix +++ b/pkgs/development/compilers/crystal/default.nix @@ -41,7 +41,6 @@ let }; arch = archs.${stdenv.system} or (throw "system ${stdenv.system} not supported"); - isAarch64Darwin = stdenv.system == "aarch64-darwin"; nativeCheckInputs = [ git gmp openssl readline libxml2 libyaml libffi ]; @@ -80,7 +79,7 @@ let , extraBuildInputs ? [ ] , buildFlags ? [ "all" "docs" "release=1"] }: - lib.fix (compiler: stdenv.mkDerivation (finalAttrs: { + stdenv.mkDerivation (finalAttrs: { pname = "crystal"; inherit buildFlags doCheck version; @@ -235,7 +234,7 @@ let passthru.buildBinary = binary; passthru.buildCrystalPackage = callPackage ./build-package.nix { - crystal = compiler; + crystal = finalAttrs.finalPackage; }; meta = with lib; { @@ -245,7 +244,7 @@ let license = licenses.asl20; maintainers = with maintainers; [ david50407 manveru peterhoeg ]; }; - })) + }) ); in |