nixpkgs/pkgs/by-name/el/elvish/tests/expect-version.nix
Anderson Torres c3f4c7f54c elvish: refactor
- move installCheck to passthru.tests
- migrate to by-name
2023-09-19 00:02:22 -03:00

25 lines
353 B
Nix

{ lib
, stdenv
, elvish
, substituteAll
}:
stdenv.mkDerivation {
pname = "elvish-simple-test";
inherit (elvish) version;
nativeBuildInputs = [ elvish ];
dontInstall = true;
buildCommand = ''
elvish ${substituteAll {
src = ./expect-version.elv;
inherit (elvish) version;
}}
touch $out
'';
meta.timeout = 10;
}