fix bad installPhase
This commit is contained in:
parent
d511138e76
commit
b8e039e845
1 changed files with 7 additions and 7 deletions
14
flake.nix
14
flake.nix
|
|
@ -32,14 +32,14 @@
|
|||
dobutterfliescry-net = super.stdenv.mkDerivation {
|
||||
name = "dobutterfliescry.net";
|
||||
src = ./.;
|
||||
nativeBuildInputs = [super.makeWrapper];
|
||||
nativeBuildInputs = with super; [
|
||||
imagemagick
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/www
|
||||
cd $out
|
||||
cp -r $src/scripts $src/imgs $src/www ./
|
||||
chmod +x scripts/bakeimgs
|
||||
./scripts/bakeimgs
|
||||
rm -rf scripts imgs
|
||||
mkdir -p $out
|
||||
bash scripts/bakeimgs
|
||||
cp -r $src/www ./
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue