refactor: move package definition to nix/package.nix

This commit is contained in:
Mohammad Rafiq 2025-06-28 14:34:44 +08:00
parent 8f87951156
commit 3b14c37a52
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

12
nix/package.nix Normal file
View 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
'';
}