aboutsummaryrefslogblamecommitdiff
path: root/nix/common.nix
blob: 8396a6de06947310cee85b04e76a9a34a25e6407 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                          
                                                                                                     


                                                                    
                      
                                                   

                                                     
    



                   


                                                      
rec {
  /*
   * Fixed dependencies
   */
  pkgsSrc = fetchTarball {
    # As of 2021-10-04
    url = "https://github.com/NixOS/nixpkgs/archive/b27d18a412b071f5d7991d1648cfe78ee7afe68a.tar.gz";
    sha256 = "1xy9zpypqfxs5gcq5dcla4bfkhxmh5nzn9dyqkr03lqycm9wg5cr";
  };
  cargo2nixSrc = fetchGit {
    # As of 2022-03-17
    url = "https://github.com/superboum/cargo2nix";
    ref = "dedup_propagate";
    rev = "486675c67249e735dd7eb68e1b9feac9db102be7";
  };

  /*
   * Shared objects
   */
  cargo2nix = import cargo2nixSrc;
  cargo2nixOverlay = import "${cargo2nixSrc}/overlay";
}