mirror of
https://github.com/divnix/digga.git
synced 2024-12-25 09:04:07 +03:00
24 lines
353 B
Nix
24 lines
353 B
Nix
|
{ stdenv }:
|
||
|
let
|
||
|
name = "flk";
|
||
|
in
|
||
|
stdenv.mkDerivation {
|
||
|
inherit name;
|
||
|
|
||
|
src = ./flk.sh;
|
||
|
|
||
|
dontUnpack = true;
|
||
|
dontBuild = true;
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/bin
|
||
|
install $src $out/bin/${name}
|
||
|
'';
|
||
|
|
||
|
checkPhase = ''
|
||
|
${stdenv.shell} -n -O extglob $out/bin/${name}
|
||
|
'';
|
||
|
|
||
|
meta.description = "Build, deploy, and install NixOS";
|
||
|
}
|