···212 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/97d0b0a367e4c6a52a17c3299439ac7de129da24.patch";
213 sha256 = "0r4zjj0bv1x1m2dgxp3adsf2xkr94fjnyj1igsivd9ilbs5ja0b5";
214 })
215- ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
216217 # Prevent the paths module from emitting symbols that we don't use
218 # when building with separate outputs.
···212 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/97d0b0a367e4c6a52a17c3299439ac7de129da24.patch";
213 sha256 = "0r4zjj0bv1x1m2dgxp3adsf2xkr94fjnyj1igsivd9ilbs5ja0b5";
214 })
215+ ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
216217 # Prevent the paths module from emitting symbols that we don't use
218 # when building with separate outputs.
+1-1
pkgs/development/compilers/ghc/9.0.2.nix
···192 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/c6132c782d974a7701e7f6447bdcd2bf6db4299a.patch?merge_request_iid=7423";
193 sha256 = "sha256-b4feGZIaKDj/UKjWTNY6/jH4s2iate0wAgMxG3rAbZI=";
194 })
195- ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
196197 # Prevent the paths module from emitting symbols that we don't use
198 # when building with separate outputs.
···192 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/c6132c782d974a7701e7f6447bdcd2bf6db4299a.patch?merge_request_iid=7423";
193 sha256 = "sha256-b4feGZIaKDj/UKjWTNY6/jH4s2iate0wAgMxG3rAbZI=";
194 })
195+ ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
196197 # Prevent the paths module from emitting symbols that we don't use
198 # when building with separate outputs.
···1+{ lib
2+, rustPlatform
3+, fetchFromGitHub
4+}:
5+6+rustPlatform.buildRustPackage rec {
7+ pname = "nickel";
8+ version = "0.1.0";
9+10+ src = fetchFromGitHub {
11+ owner = "tweag";
12+ repo = pname;
13+ rev = "refs/tags/${version}"; # because pure ${version} doesn't work
14+ hash = "sha256-St8oK9vP2cAhsNindkebtAMeRPwYggP9E4CciSZc7oA=";
15+ };
16+17+ cargoSha256 = "sha256-VsyK/api8acIpADpXQ8RdbRLiZwHFSDH0vwQrZQ8zp4=";
18+19+ meta = with lib; {
20+ homepage = "https://nickel-lang.org/";
21+ description = "Better configuration for less";
22+ longDescription = ''
23+ Nickel is the cheap configuration language.
24+25+ Its purpose is to automate the generation of static configuration files -
26+ think JSON, YAML, XML, or your favorite data representation language -
27+ that are then fed to another system. It is designed to have a simple,
28+ well-understood core: it is in essence JSON with functions.
29+ '';
30+ license = licenses.mit;
31+ maintainers = with maintainers; [ AndersonTorres ];
32+ };
33+}
···186 # we accept this fact because xcode_locator is only a short-lived process used during the build.
187 ./no-arc.patch
18800189 # --experimental_strict_action_env (which may one day become the default
190 # see bazelbuild/bazel#2574) hardcodes the default
191 # action environment to a non hermetic value (e.g. "/usr/local/bin").
···186 # we accept this fact because xcode_locator is only a short-lived process used during the build.
187 ./no-arc.patch
188189+ ./gcc11.patch
190+191 # --experimental_strict_action_env (which may one day become the default
192 # see bazelbuild/bazel#2574) hardcodes the default
193 # action environment to a non hermetic value (e.g. "/usr/local/bin").