Skip to content

Instantly share code, notes, and snippets.

@dacr
Created February 1, 2025 11:04
Show Gist options
  • Save dacr/b02021aff0d34bf7c5387a8435f9da3c to your computer and use it in GitHub Desktop.
Save dacr/b02021aff0d34bf7c5387a8435f9da3c to your computer and use it in GitHub Desktop.
nix fetchers / published by https://github.com/dacr/code-examples-manager #09010820-30f0-4423-86f8-6daa7c06e4dc/587e82c7e4906d7ee031311a937d4fab246848a2
## summary : nix fetchers
## keywords : nix, fetchers
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : 09010820-30f0-4423-86f8-6daa7c06e4dc
## created-on : 2025-02-01T11:48:47+01:00
## managed-by : https://github.com/dacr/code-examples-manager
## run-with : nix eval --file $file
#### run-with : nix-instantiate --eval $file
let
web-echo-sources = builtins.fetchGit {
url="https://github.com/dacr/web-echo.git";
ref="v1.3.0";
rev="983f0286af3fee9b4bd747036c0af742e12fb280";
};
license-file = "${web-echo-sources}/LICENSE";
license-content = builtins.readFile license-file;
in {
inherit license-file;
inherit license-content;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment