git.iko.soy/typeable/nixpkgs
on master help sign in
dbqn: 0.pre+unstable=2021-10-05 -> 0.pre+date=2021-10-08
commit84e726be4724435fc8531d698a379199d5c9eff6 authorAndersonTorres <torres.anderson.85@protonmail.com> dateSat 16 Oct 2021, 21:08 (5 years ago) parent504fff7
1 file changed+10−7
pkgs/development/interpreters/bqn/dzaima-bqn/default.nix+10−7
pkgs/development/interpreters/bqn/dzaima-bqn/default.nix+10−7
@@ -8,31 +8,34 @@
88
99stdenv.mkDerivation rec {
1010 pname = "dbqn" + lib.optionalString buildNativeImage "-native";
11− version = "0.pre+unstable=2021-10-05";
11+ version = "0.pre+date=2021-10-08";
1212
1313 src = fetchFromGitHub {
1414 owner = "dzaima";
1515 repo = "BQN";
16− rev = "c31ceef52bbf380e747723f5ffd09c5f006b21c5";
17− sha256 = "1nzqgwpjawcky85mfrz5izs9lfb3aqlm96dc8syrxhgg20xrziwx";
16+ rev = "0001109a1c5a420421b368c79d34b1e93bfe606e";
17+ hash = "sha256-riHHclTLkrVbtzmcz9ungAIc7kaoFHS77+SNatsfNhc=";
1818 };
1919
2020 nativeBuildInputs = [
21− makeWrapper
2221 jdk
22+ makeWrapper
2323 ];
2424
2525 dontConfigure = true;
2626
27+ postPatch = ''
28+ patchShebangs --build ./build8
29+ '';
30+
2731 buildPhase = ''
2832 runHook preBuild
2933
30− patchShebangs --build ./build8
3134 ./build8
3235 '' + lib.optionalString buildNativeImage ''
3336 native-image --report-unsupported-elements-at-runtime \
34− -H:CLibraryPath=${lib.getLib jdk}/lib \
35− -J-Dfile.encoding=UTF-8 -jar BQN.jar dbqn
37+ -H:CLibraryPath=${lib.getLib jdk}/lib -J-Dfile.encoding=UTF-8 \
38+ -jar BQN.jar dbqn
3639 '' + ''
3740 runHook postBuild
3841 '';