1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 08:17:01 +00:00
nix-darwin/tests/nixpkgs-overlays.nix

17 lines
228 B
Nix
Raw Normal View History

2018-01-07 00:06:53 +01: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-07 00:06:53 +01:00
'';
}