git.iko.soy/rowtype-yoga/purescript-protobuf
on demo-nix-github help sign in
36 lines 1.4 kB history raw
1# https://nixos.org/guides/towards-reproducibility-pinning-nixpkgs.html
2# { pkgs ? import <nixpkgs> { } }:
3{ pkgs ? import (builtins.fetchTarball {
4 url = "https://github.com/NixOS/nixpkgs/archive/20.03.tar.gz";
5 sha256 = "0182ys095dfx02vl2a20j1hz92dx3mfgz2a6fhn31bqlp1wa8hlq";
6 }) {}
7}:
9let
10 easy-ps = import
11 (builtins.fetchGit {
12 url = "https://github.com/justinwoo/easy-purescript-nix.git";
13 rev = "1ec689df0adf8e8ada7fcfcb513876307ea34226";
14 # (pkgs.fetchFromGitHub {
15 # owner = "justinwoo";
16 # repo = "easy-purescript-nix";
17 # rev = "1ec689df0adf8e8ada7fcfcb513876307ea34226";
18 # sha256 = "12hk2zbjkrq2i5fs6xb3x254lnhm9fzkcxph0a7ngxyzfykvf4hi";
19 }) { inherit pkgs; };
21 spago2nix = import (builtins.fetchGit {
22 #url = "git@github.com:justinwoo/spago2nix.git";
23 #rev = "22bd974ec44c98d2831c31f4f4402a9afa8aecea";
24 # url = "git@github.com:xc-jp/spago2nix.git";
25 url = "https://github.com/xc-jp/spago2nix.git";
26 ref = "ls-transitive";
27 rev = "1e65ec78def30b9c10bfc165cfb5f3b1c42bbd80";
28 }) { inherit pkgs; };
30 node2nix = import (builtins.fetchGit {
31 # url = "git@github.com:svanderburg/node2nix.git";
32 url = "https://github.com/svanderburg/node2nix.git";
33 rev = "c6cc7edc7c180ef01f23bc2aff31a1cbb5524b0d";
34 }) { inherit pkgs; };
36in pkgs // { inherit easy-ps; inherit spago2nix; inherit node2nix; }