Use elm2nix to (attempt to) deploy learnpianochords.app

After a few failed attempts at deploying my Elm application on NixOS, I'm trying
elm2nix, which some NixOS and Elm users created to attempt to solve some of the
issues that I ran into earlier today.

Elm tries to write to $HOME, which NixOS doesn't like. I typically prefer to
avoid things like cabal2nix, elm2nix, node2nix because I don't like the workflow
that they suggest, but I'm so eager to deploy this application, that I'm trying
it.
This commit is contained in:
William Carroll 2020-04-18 00:10:39 +01:00
parent 277ad983d4
commit 39d084e493
4 changed files with 121 additions and 18 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<title>Chord Drill Sergeant</title>
<link rel="stylesheet" href="./output.css" />
<script src="./elm.js"></script>
<script src="./Main.min.js"></script>
</head>
<body class="font-serif">
<div id="mount"></div>