refactor: move package definition to nix/package.nix
This commit is contained in:
parent
8f87951156
commit
3b14c37a52
2 changed files with 2 additions and 2 deletions
12
nix/package.nix
Normal file
12
nix/package.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ stdenv, ... }:
|
||||
let
|
||||
name = "rrv.sh";
|
||||
version = "0.0.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name version;
|
||||
src = ../src;
|
||||
installPhase = ''
|
||||
cp -r . $out
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue