try sodiboos suggestion
This commit is contained in:
parent
fbdce20e93
commit
c9063ff778
1 changed files with 2 additions and 5 deletions
|
@ -1,17 +1,14 @@
|
||||||
{
|
{
|
||||||
runCommand,
|
runCommand,
|
||||||
akkoma-frontends,
|
akkoma-frontends,
|
||||||
jq,
|
|
||||||
xorg,
|
xorg,
|
||||||
}:
|
}:
|
||||||
runCommand "akkoma-fe" {
|
runCommand "akkoma-fe" {
|
||||||
styles = builtins.readFile ./styles.json;
|
nativeBuildInputs = [xorg.lndir];
|
||||||
nativeBuildInputs = [jq xorg.lndir];
|
|
||||||
passAsFile = ["styles"];
|
|
||||||
} ''
|
} ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
lndir ${akkoma-frontends.akkoma-fe} $out
|
lndir ${akkoma-frontends.akkoma-fe} $out
|
||||||
|
|
||||||
rm $out/static/styles.json
|
rm $out/static/styles.json
|
||||||
cp ${styles} $out/static/
|
cp ${./styles.json} $out/static/styles.json
|
||||||
''
|
''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue