mirror of
https://github.com/NixOS/nix
synced 2025-07-20 23:59:44 +02:00
Input: Replace markFileChanged() by putFile()
Committing a lock file using markFileChanged() required the input to be writable by the caller in the local filesystem (using the path returned by getSourcePath()). putFile() abstracts over this.
This commit is contained in:
parent
5ac87a75dd
commit
95d657c8b3
8 changed files with 109 additions and 59 deletions
|
@ -2,6 +2,7 @@
|
|||
///@file
|
||||
|
||||
#include "fetchers.hh"
|
||||
#include "path.hh"
|
||||
|
||||
namespace nix::fetchers {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue