aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/builtins/buildenv.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/builtins/buildenv.hh')
-rw-r--r--src/libstore/builtins/buildenv.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/builtins/buildenv.hh b/src/libstore/builtins/buildenv.hh
index 0a37459b0..73c0f5f7f 100644
--- a/src/libstore/builtins/buildenv.hh
+++ b/src/libstore/builtins/buildenv.hh
@@ -9,7 +9,7 @@ struct Package {
Path path;
bool active;
int priority;
- Package(Path path, bool active, int priority) : path{path}, active{active}, priority{priority} {}
+ Package(const Path & path, bool active, int priority) : path{path}, active{active}, priority{priority} {}
};
typedef std::vector<Package> Packages;