1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 12:41:00 +01:00

Partially integrated state components (startscripts) into nix-env

This commit is contained in:
Wouter den Breejen 2007-08-10 15:39:02 +00:00
parent 13f321e397
commit 7424d72098
17 changed files with 241 additions and 122 deletions

View file

@ -20,6 +20,7 @@ struct DrvInfo
private:
string drvPath;
string outPath;
string stateIdentifier;
public:
string name;
@ -33,6 +34,7 @@ public:
string queryDrvPath(EvalState & state) const;
string queryOutPath(EvalState & state) const;
string queryStateIdentifier(EvalState & state) const;
MetaInfo queryMetaInfo(EvalState & state) const;
void setDrvPath(const string & s)
@ -45,6 +47,11 @@ public:
outPath = s;
}
void setStateIdentifier(const string & s)
{
stateIdentifier = s;
}
void setMetaInfo(const MetaInfo & meta);
};