File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 66 rustPlatform ,
77 fetchFromGitHub ,
88 pkg-config ,
9+ versionCheckHook ,
910
1011 libffi ,
1112 audioSupport ? true ,
@@ -34,7 +35,7 @@ lib.fix (
3435 src = fetchFromGitHub {
3536 owner = "uiua-lang" ;
3637 repo = "uiua" ;
37- inherit ( versionInfo ) rev hash ;
38+ inherit ( versionInfo ) tag hash ;
3839 } ;
3940
4041 nativeBuildInputs =
@@ -50,6 +51,10 @@ lib.fix (
5051 ++ lib . optional audioSupport "audio"
5152 ++ lib . optional webcamSupport "webcam" ;
5253
54+ nativeInstallCheckInputs = [ versionCheckHook ] ;
55+ versionCheckProgramArg = "--version" ;
56+ doInstallCheck = true ;
57+
5358 passthru . updateScript = versionInfo . updateScript ;
5459 passthru . tests . run = runCommand "uiua-test-run" { nativeBuildInputs = [ uiua ] ; } ''
5560 uiua init
Original file line number Diff line number Diff line change 11rec {
22 version = "0.14.1" ;
3- rev = version ;
3+ tag = version ;
44 hash = "sha256-+FiJYxB2Lb1B7l9QEuB/XzdEYgJZmYAQpKimRIhWwhc=" ;
55 cargoHash = "sha256-0ZK87aX3akEPEXIsFrbOvTfhW24TZCuCcSVp+j8ylyg=" ;
66 updateScript = ./update-stable.sh ;
Original file line number Diff line number Diff line change 11rec {
22 version = "0.14.1" ;
3- rev = version ;
3+ tag = version ;
44 hash = "sha256-+FiJYxB2Lb1B7l9QEuB/XzdEYgJZmYAQpKimRIhWwhc=" ;
55 cargoHash = "sha256-0ZK87aX3akEPEXIsFrbOvTfhW24TZCuCcSVp+j8ylyg=" ;
66 updateScript = ./update-unstable.sh ;
You can’t perform that action at this time.
0 commit comments