Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created June 28, 2017 20:22
Show Gist options
  • Save cleverca22/3a8835b924cf4b4c883c860c1eb696c1 to your computer and use it in GitHub Desktop.
Save cleverca22/3a8835b924cf4b4c883c860c1eb696c1 to your computer and use it in GitHub Desktop.
diff --git a/default.nix b/default.nix
index a7b8b08..198ddf8 100644
--- a/default.nix
+++ b/default.nix
@@ -1,4 +1,4 @@
-with import <nixpkgs> {};
+with builtins;
map (id:
- import (fetchurl "https://infinisil.io/nix/${id}.nix")
+ import (fetchurl "https://infinisil.io/nix/${toString id}.nix")
) [ 1 2 3 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment