initial nix channel

This commit is contained in:
Rongsong Shen 2025-05-22 16:52:19 +08:00
parent cce92912ff
commit ab0ad44ba0
2 changed files with 15 additions and 0 deletions

8
my-package.nix Normal file
View file

@ -0,0 +1,8 @@
# my-package.nix
{ stdenv }:
stdenv.mkDerivation {
name = "my-package";
src = ./.;
installPhase = "mkdir -p $out; echo 'Hello, Nix!' > $out/hello";
}