add dhall to flake.nix
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
2855473f46
commit
ff188988c3
|
@ -0,0 +1,2 @@
|
|||
result
|
||||
.direnv
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657114324,
|
||||
"narHash": "sha256-fWuaUNXrHcz/ciHRHlcSO92dvV3EVS0GJQUSBO5JIB4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a5c867d9fe9e4380452628e8f171c26b69fa9d3d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"utils": "utils"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"locked": {
|
||||
"lastModified": 1656928814,
|
||||
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
description = "A basic Go web server setup";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
utils.lib.eachSystem [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
] (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
version = builtins.substring 0 8 self.lastModifiedDate;
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [ dhall dhall-lsp-server dhall-json ];
|
||||
};
|
||||
});
|
||||
}
|
|
@ -39,7 +39,7 @@ in λ(area : Area.Type) →
|
|||
Prelude.Text.concatMapSep "\n\n" NPC.Type toMD.npc
|
||||
|
||||
in ''
|
||||
## NPCs
|
||||
#### NPCs
|
||||
|
||||
${showNPCs area.npcs}
|
||||
''
|
||||
|
|
|
@ -40,7 +40,7 @@ in λ(npc : NPC.Type) →
|
|||
else ""
|
||||
|
||||
in ''
|
||||
#### ${npc.name}
|
||||
##### ${npc.name}
|
||||
|
||||
A ${toMD.species npc.species} ${npc.job}.
|
||||
|
||||
|
|
Loading…
Reference in New Issue