Skip to content

Commit

Permalink
FIXUP format nix files
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Dec 28, 2024
1 parent 232b394 commit dafd885
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions rhine-tree/nix/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{pkgs, overlay, lib}:
{ pkgs, overlay, lib }:
let
dommyPkg = (pkgs.pkgsCross.ghcjs.extend overlay).haskell.packages.ghc910.rhine-tree;
dommy = lib.traceVal (dommyPkg + "/bin/dommy");
dommyContents = lib.traceVal (builtins.readFile dommy);
botchedHTML = pkgs.writeTextFile {
name = "index.html";
text = ''
<!DOCTYPE html>
<html>
<head>
<script>
${dommyContents}
</script>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
<script>
${dommyContents}
</script>
</head>
</html>
'';
};
in dommyPkg
in
dommyPkg

0 comments on commit dafd885

Please sign in to comment.