nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 callPackage,
4}:
5let
6 args = rec {
7 /*
8 Do not use "dev" as a version. If you do, Tilt will consider itself
9 running in development environment and try to serve assets from the
10 source tree, which is not there once build completes.
11 */
12 version = "0.35.0";
13
14 src = fetchFromGitHub {
15 owner = "tilt-dev";
16 repo = "tilt";
17 tag = "v${version}";
18 hash = "sha256-IXmycwZFeDbCNFtLh126FvVSuugFoElj1TfU5Bdl5rc=";
19 };
20 };
21
22 tilt-assets = callPackage ./assets.nix args;
23in
24callPackage ./binary.nix (args // { inherit tilt-assets; })