hosts/packages/directory.nix

9 lines
164 B
Nix
Raw Normal View History

2023-03-05 13:02:52 +01:00
{ stdenv, name, source }:
stdenv.mkDerivation rec {
inherit name;
phases = [ "installPhase" ];
installPhase = ''
cp -R ${source} $out
'';
}