lix/src/libexpr/primops/fetchgit.hh
Eelco Dolstra d8bf0d4859 Support Git repos in the Nix path
E.g.

  $ nix-build -I nixpkgs=git://github.com/NixOS/nixpkgs '<nixpkgs>' -A hello

This is not extremely useful yet because you can't specify a
branch/revision.
2016-04-29 21:07:47 +02:00

15 lines
174 B
C++

#pragma once
#include <string>
#include "ref.hh"
namespace nix {
class Store;
Path exportGit(ref<Store> store,
const std::string & uri, const std::string & rev);
}