mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-02-22 21:05:23 +08:00
temp
This commit is contained in:
parent
3e2a61c802
commit
d4eb863b3c
2 changed files with 126 additions and 7 deletions
|
|
@ -12,7 +12,7 @@
|
|||
{
|
||||
packages = rec {
|
||||
hello = pkgs.stdenv.mkDerivation rec {
|
||||
name = "hello-flake";
|
||||
name = "hello-with-cow";
|
||||
|
||||
src = ./.;
|
||||
|
||||
|
|
@ -23,8 +23,8 @@
|
|||
installPhase =
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
cp $src/hello-flake $out/bin/hello-flake
|
||||
chmod +x $out/bin/hello-flake
|
||||
cp $src/hello-with-cow $out/bin
|
||||
chmod +x $out/bin/hello-with-cow
|
||||
'';
|
||||
};
|
||||
default = hello;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue