-
-
Save grahamc/febfe4398170b3d3ca9a64263e2d79c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
srcWithName = name: pkgs.fetchgit { | |
inherit name; | |
url = "https://github.com/grahamc/ish.git"; | |
rev = "7edd7665edf8e33e6847d891d2ff519b492b32dc"; | |
sha256 = "0qjp8f82a09spz8z2idqj3w1lclr19p37877a8jscvss5a14bbda"; | |
}; | |
in pkgs.writeText "example" '' | |
${srcWithName "hi"} | |
${srcWithName "there"} | |
${srcWithName "the"} | |
${srcWithName "hash"} | |
${srcWithName "is"} | |
${srcWithName "unchanged"} | |
'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment