diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-08-29 19:04:09 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-09-09 21:56:59 -0400 |
commit | bc5b1b8bb3d45d9c04ccc46bb8732f859e4b896c (patch) | |
tree | 5ebe3b77579a44e86df0670a6ad2b98af68b959f /sundry/spine_search_cgi/flake.nix | |
parent | metaverse parallel processing reproducability (diff) |
config nix
Diffstat (limited to 'sundry/spine_search_cgi/flake.nix')
-rw-r--r-- | sundry/spine_search_cgi/flake.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sundry/spine_search_cgi/flake.nix b/sundry/spine_search_cgi/flake.nix new file mode 100644 index 0000000..fe54c94 --- /dev/null +++ b/sundry/spine_search_cgi/flake.nix @@ -0,0 +1,22 @@ +{ + description = "a sisu like document parser search form"; + inputs = { + flake-utils.url = "github:numtide/flake-utils"; + nixpkgs.url = "github:nixos/nixpkgs"; + }; + outputs = { self, nixpkgs, flake-utils }: + let + pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + packages.x86_64-linux.spine = pkgs.stdenv.mkDerivation { + name = "spine_search"; + inherit self; + src = self; + shell = ./shell.nix; + installPhase = '' + install -m755 -D spine_search $out/share/cgi-bin/spine_search + ''; + }; + defaultPackage.x86_64-linux = self.packages.x86_64-linux.spine; + }; +} |