aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2020-02-13 17:45:21 -0500
committerGitHub <noreply@github.com>2020-02-13 17:45:21 -0500
commit4429504fb3ba3b0496060892a500c8f49c4d73c7 (patch)
tree5719bb1069942dc5569d98a011a43151b0600713 /nix
parent1f009f0dca30217b2a0cb0c6ffd7961e13646f8c (diff)
downloadxesite-4429504fb3ba3b0496060892a500c8f49c4d73c7.tar.xz
xesite-4429504fb3ba3b0496060892a500c8f49c4d73c7.zip
Use pinned nixpkgs (#117)
* pin nixpkgs * use pinned nixpkgs * use pinned nixpkgs for docker build * use buildLayeredImage * test dhall * dhall channel * fix?? * fix??? * fix???? * easy-dhall-nix * fix????? * pin dhall-yaml to shell, update xepkgs to use inherit
Diffstat (limited to 'nix')
-rw-r--r--nix/dhall-yaml.nix5
-rw-r--r--nix/sources.json38
2 files changed, 42 insertions, 1 deletions
diff --git a/nix/dhall-yaml.nix b/nix/dhall-yaml.nix
new file mode 100644
index 0000000..ddb8c3d
--- /dev/null
+++ b/nix/dhall-yaml.nix
@@ -0,0 +1,5 @@
+let
+ sources = import ./sources.nix;
+ pkgs = import sources.nixpkgs { };
+ dhall = import sources.easy-dhall-nix { inherit pkgs; };
+in dhall.dhall-yaml-simple
diff --git a/nix/sources.json b/nix/sources.json
index 225728a..937f537 100644
--- a/nix/sources.json
+++ b/nix/sources.json
@@ -1,4 +1,40 @@
{
+ "easy-dhall-nix": {
+ "branch": "master",
+ "description": "Derivations for easily downloading Dhall binaries and putting them to use.",
+ "homepage": "",
+ "owner": "justinwoo",
+ "repo": "easy-dhall-nix",
+ "rev": "735ad924fd829c9bbee0a167e0b2bbbf91e2cad5",
+ "sha256": "1r3sqs1cz0mcfwfvaq1d21vnppg5sqzqdl6w9krsw5ad5czkk190",
+ "type": "tarball",
+ "url": "https://github.com/justinwoo/easy-dhall-nix/archive/735ad924fd829c9bbee0a167e0b2bbbf91e2cad5.tar.gz",
+ "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+ },
+ "niv": {
+ "branch": "master",
+ "description": "Easy dependency management for Nix projects",
+ "homepage": "https://github.com/nmattia/niv",
+ "owner": "nmattia",
+ "repo": "niv",
+ "rev": "2ecfd86b631714b457e56d70dd83fa60435baeb6",
+ "sha256": "01j6727cws8blg1npp54b4w6xa0gpgyzhyws2vqgp8clnlnmqqhi",
+ "type": "tarball",
+ "url": "https://github.com/nmattia/niv/archive/2ecfd86b631714b457e56d70dd83fa60435baeb6.tar.gz",
+ "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+ },
+ "nixpkgs": {
+ "branch": "nixpkgs-unstable",
+ "description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
+ "homepage": "https://github.com/NixOS/nixpkgs",
+ "owner": "NixOS",
+ "repo": "nixpkgs-channels",
+ "rev": "cc1ae9f21b9e0ce998e706a3de1bad0b5259f22d",
+ "sha256": "0zjafww05h50ncapw51b5qxgbv9prjyag0j22jnfc3kcs5xr4ap0",
+ "type": "tarball",
+ "url": "https://github.com/NixOS/nixpkgs-channels/archive/cc1ae9f21b9e0ce998e706a3de1bad0b5259f22d.tar.gz",
+ "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+ },
"vgo2nix": {
"branch": "master",
"description": null,
@@ -14,7 +50,7 @@
"xepkgs": {
"ref": "master",
"repo": "https://tulpa.dev/Xe/nixpkgs",
- "rev": "71488e7dd46c9530d6781ab7845e6f720591a0b0",
+ "rev": "e0027d79c85aab9411c69acaadaabd2189400cc9",
"type": "git"
}
}