1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 03:39:36 +01:00

Implemented --flake flag for nix build

Also fixed Eelco's PR comments
This commit is contained in:
Nick Van den Broeck 2019-02-21 06:53:01 +01:00
parent 6542de98c2
commit d4ee8afd59
8 changed files with 111 additions and 28 deletions

View file

@ -129,6 +129,9 @@ struct FlakeRef
// Parse a flake URI.
FlakeRef(const std::string & uri);
// Default constructor
FlakeRef(const FlakeRef & flakeRef) : data(flakeRef.data) {};
/* Unify two flake references so that the resulting reference
combines the information from both. For example,
"nixpkgs/<hash>" and "github:NixOS/nixpkgs" unifies to