noogle/salt/flake-module.nix

20 lines
339 B
Nix
Raw Normal View History

2023-12-22 23:09:02 +03:00
_: {
perSystem = { self', inputs', pkgs, ... }:
let
salt = pkgs.stdenv.mkDerivation {
pname = "salt-data";
version = "0.1.0";
src = ./src;
installPhase = ''
mkdir $out
cp -rf . $out
'';
};
in
{
packages = {
inherit salt;
};
};
}