1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Use std::string_view

(cherry picked from commit 6529490cc1)
This commit is contained in:
Eelco Dolstra 2020-02-17 15:53:59 +01:00
parent c34a20e1f6
commit 5a7e7fc35f
2 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@ class Store;
/* Write a derivation to the Nix store, and return its path. */
StorePath writeDerivation(ref<Store> store,
const Derivation & drv, const string & name, RepairFlag repair = NoRepair);
const Derivation & drv, std::string_view name, RepairFlag repair = NoRepair);
/* Read a derivation from a file. */
Derivation readDerivation(const Store & store, const Path & drvPath);