mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03:00
`set -e` does not trigger on negations, so none of these were actually being tested (and one appears to have been incorrectly negated all along).
17 lines
228 B
Nix
17 lines
228 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
nixpkgs.overlays = [
|
|
(self: super:
|
|
{
|
|
hello = super.runCommand "hello" {} "mkdir $out";
|
|
})
|
|
];
|
|
|
|
test = ''
|
|
echo checking /bin/hello >&2
|
|
(! ${pkgs.hello}/bin/hello)
|
|
'';
|
|
}
|
|
|