···112112113113 # Fix library paths
114114 cd $out/libexec/${dirName}/Executables
115115- for path in MathKernel WolframKernel math mcc wolfram; do
115115+ for path in MathKernel math mcc wolfram; do
116116 makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}"
117117+ done
118118+119119+ for path in WolframKernel wolframscript; do
120120+ makeWrapper $out/libexec/${dirName}/SystemFiles/Kernel/Binaries/Linux-x86-64/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}"
117121 done
118122119123 # ... and xkeyboard config path for Qt
···11{ lib
22+, stdenv
23, buildGoModule
34, fetchFromGitHub
45, installShellFiles
···67, enableWasmEval ? false
78}:
891010+assert enableWasmEval && stdenv.isDarwin -> builtins.throw "building with wasm on darwin is failing in nixpkgs";
1111+912buildGoModule rec {
1013 pname = "open-policy-agent";
1111- version = "0.38.1";
1414+ version = "0.40.0";
12151316 src = fetchFromGitHub {
1417 owner = "open-policy-agent";
1518 repo = "opa";
1619 rev = "v${version}";
1717- sha256 = "sha256-x8mSlZ2X0DdkhaW5QXs5axERJkwARu8tHueQHXfamXM=";
2020+ sha256 = "sha256-rLfo2SUlxL6QFc2v+nxFnbyYcfy7i3OFhGt6ZAUteHY=";
1821 };
1922 vendorSha256 = null;
2023···3538 # Feed in all but the e2e tests for testing
3639 # This is because subPackages above limits what is built to just what we
3740 # want but also limits the tests
4141+ # Also avoid wasm tests on darwin due to wasmtime-go build issues
3842 getGoDirs() {
3939- go list ./... | grep -v e2e
4343+ go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"}
4044 }
4141-4242- # Remove test case that fails on < go1.17
4343- rm test/cases/testdata/cryptox509parsecertificates/test-cryptox509parsecertificates-0123.yaml
4545+ '' + lib.optionalString stdenv.isDarwin ''
4646+ # resolve "too many open files" errors during the tests on darwin
4747+ ulimit -n 1024
4448 '';
45494650 postInstall = ''
···6670 '';
67716872 meta = with lib; {
7373+ mainProgram = "opa";
6974 homepage = "https://www.openpolicyagent.org";
7075 changelog = "https://github.com/open-policy-agent/opa/blob/v${version}/CHANGELOG.md";
7176 description = "General-purpose policy engine";
···23232424 buildInputs = [ wayland ];
25252626+ patches = [
2727+ # A recent change to xdg-shell-client-protocol causes a build
2828+ # failure. This was reported upstream as GH #5. User @AlexBMJ
2929+ # posted the following two-line fix in that issue, but the
3030+ # developer has not yet responded:
3131+ # https://github.com/progandy/wdomirror/issues/5#issuecomment-1103265438
3232+ ./configure-bounds.patch
3333+ ];
3434+2635 installPhase = ''
2736 runHook preInstall
2837 install -m755 -D wdomirror $out/bin/wdomirror
+2
pkgs/top-level/aliases.nix
···954954 phantomjs = throw "phantomjs 1.9.8 has been dropped due to lack of maintenance and security issues"; # Added 2022-02-20
955955 phantomjs2 = throw "phantomjs2 has been dropped due to lack of maintenance"; # Added 2022-04-22
956956 philter = throw "philter has been removed: abandoned by upstream"; # Added 2022-04-26
957957+ phwmon = throw "phwmon has been removed: abandoned by upstream"; # Added 2022-04-24
958958+957959 # Obsolete PHP version aliases
958960 php73 = throw "php73 has been dropped due to the lack of maintanence from upstream for future releases"; # Added 2021-06-03
959961 php73Packages = php73; # Added 2021-06-03