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 {
|
dobutterfliescry-net = super.stdenv.mkDerivation {
|
||||||
name = "dobutterfliescry.net";
|
name = "dobutterfliescry.net";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
nativeBuildInputs = [super.makeWrapper];
|
nativeBuildInputs = with super; [
|
||||||
|
imagemagick
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/www
|
mkdir -p $out
|
||||||
cd $out
|
bash scripts/bakeimgs
|
||||||
cp -r $src/scripts $src/imgs $src/www ./
|
cp -r $src/www ./
|
||||||
chmod +x scripts/bakeimgs
|
|
||||||
./scripts/bakeimgs
|
|
||||||
rm -rf scripts imgs
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue