Fix Nix package sources specification
This commit is contained in:
parent
180f04c415
commit
0ae83cfb3e
1 changed files with 3 additions and 2 deletions
|
|
@ -7,12 +7,13 @@ mkDerivation {
|
||||||
pname = "personal-site";
|
pname = "personal-site";
|
||||||
version = "2026-04-29";
|
version = "2026-04-29";
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
src = ./src;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
cp -r /build/source/* $out/
|
mkdir -p $out
|
||||||
|
cp -r $src/* $out/
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue