1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
nix-darwin/tests/nixpkgs-overlays.nix

17 lines
228 B
Nix
Raw Normal View History

2018-01-06 23:06:53 +00:00
{ config, pkgs, ... }:
{
nixpkgs.overlays = [
(self: super:
{
hello = super.runCommand "hello" {} "mkdir $out";
})
];
test = ''
echo checking /bin/hello >&2
(! ${pkgs.hello}/bin/hello)
2018-01-06 23:06:53 +00:00
'';
}