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,
|
||||
akkoma-frontends,
|
||||
jq,
|
||||
xorg,
|
||||
}:
|
||||
runCommand "akkoma-fe" {
|
||||
styles = builtins.readFile ./styles.json;
|
||||
nativeBuildInputs = [jq xorg.lndir];
|
||||
passAsFile = ["styles"];
|
||||
nativeBuildInputs = [xorg.lndir];
|
||||
} ''
|
||||
mkdir $out
|
||||
lndir ${akkoma-frontends.akkoma-fe} $out
|
||||
|
||||
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