c3f4c7f54c
- move installCheck to passthru.tests - migrate to by-name
25 lines
353 B
Nix
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;
|
|
}
|