diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-03 14:53:40 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-20 09:09:11 -0500 |
commit | fa4733fce5e473901ccb5dfd08593c861a4e1f0e (patch) | |
tree | 304e785e20d772a81ef5b6e0a592d448e5e4a8ca /src/libcmd/installable-value.hh | |
parent | de714833f1f874690452bd55e5a72ae73e45f076 (diff) |
Split out `InstallableFlake` and `InstallableAttrPath`
Diffstat (limited to 'src/libcmd/installable-value.hh')
-rw-r--r-- | src/libcmd/installable-value.hh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libcmd/installable-value.hh b/src/libcmd/installable-value.hh new file mode 100644 index 000000000..c6cdc4797 --- /dev/null +++ b/src/libcmd/installable-value.hh @@ -0,0 +1,14 @@ +#pragma once + +#include "installables.hh" + +namespace nix { + +struct InstallableValue : Installable +{ + ref<EvalState> state; + + InstallableValue(ref<EvalState> state) : state(state) {} +}; + +} |