diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-12 15:26:30 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-12 15:40:14 +0000 |
commit | 18152406ce9db9491385f2e67da6f7f78e8d98d5 (patch) | |
tree | ab5d8caa50780fd47805aece9e92f00faea1dc3b /src/libstore/derivations.hh | |
parent | 5d0b75e5b6a1c70203257fecc25743e5a1e009cb (diff) |
String .drv suffix to create derivation name
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r-- | src/libstore/derivations.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh index 81c196ff7..6d3b54d3f 100644 --- a/src/libstore/derivations.hh +++ b/src/libstore/derivations.hh @@ -64,6 +64,8 @@ struct BasicDerivation /* Return the output names of a derivation. */ StringSet outputNames() const; + + static std::string_view nameFromPath(const StorePath & storePath); }; struct Derivation : BasicDerivation |