mirror of
https://github.com/nix-community/noogle.git
synced 2024-12-02 06:24:05 +03:00
23 lines
555 B
Nix
23 lines
555 B
Nix
{ inputs, ... }: {
|
|
perSystem = { self', inputs', pkgs, ... }:
|
|
let
|
|
nix-manual = "${inputs.nix-master}/doc/manual/src/language/derivations.md";
|
|
# https://github.com/NixOS/nix/blob/master/doc/manual/src/language/derivations.md
|
|
salt = pkgs.stdenv.mkDerivation {
|
|
pname = "salt-data";
|
|
version = "0.1.0";
|
|
src = ./src;
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -rf . $out
|
|
cp ${nix-manual} $out
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
packages = {
|
|
inherit salt;
|
|
};
|
|
};
|
|
}
|