mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-08-17 00:20:44 +03:00
release: give test derivations meaningful names
This commit is contained in:
parent
d3529322dc
commit
75c2925c57
@ -19,6 +19,10 @@ let
|
||||
|
||||
makeTest = test:
|
||||
let
|
||||
testName =
|
||||
builtins.replaceStrings [ ".nix" ] [ "" ]
|
||||
(builtins.baseNameOf test);
|
||||
|
||||
configuration =
|
||||
{ config, lib, pkgs, ... }:
|
||||
with lib;
|
||||
@ -36,7 +40,7 @@ let
|
||||
};
|
||||
|
||||
config = {
|
||||
system.build.run-test = pkgs.runCommand "darwin-test"
|
||||
system.build.run-test = pkgs.runCommand "darwin-test-${testName}"
|
||||
{ allowSubstitutes = false; preferLocalBuild = true; }
|
||||
''
|
||||
#! ${pkgs.stdenv.shell}
|
||||
|
Loading…
Reference in New Issue
Block a user