Wouter den Breejen
89ab441fd2
Changed the [solid-state-dependencies] list in the derivation to a single variable 'externalState' (since we also have a single state path) which can, for instance, be set to ~/.mozilla-test in the case of firefox (not bugfree yet)
2007-09-03 19:22:09 +00:00
Wouter den Breejen
53a6b9aaa5
* Fixed very old transactional bug that caused a freeze sometimes
...
* State components that get their state at runtime can now be (un)installed with nix-env
2007-08-17 15:35:34 +00:00
Wouter den Breejen
7424d72098
Partially integrated state components (startscripts) into nix-env
2007-08-10 15:39:02 +00:00
Wouter den Breejen
7f2140d17f
Before adjusting queryReferences/Referrers to handle shared state paths
2007-07-19 12:25:38 +00:00
Wouter den Breejen
c0bd494865
Firefox can now be brought under state control, however, the symlink ~/.mozilla/firefox/ --> /nix/state/...../ can not (yet) be created automatically at build time since ~/ is set to /homeless-shelter/ ...
2007-07-13 18:37:25 +00:00
Wouter den Breejen
76f5c8ba07
Almost finished the identifier/user/multiple-derivations mod
2007-06-12 21:01:55 +00:00
Wouter den Breejen
95ce7e04b7
Nix now includes the username into the hash calculation, statepaths are also recomputed at buildtime so they cannot be spoofed
2007-06-11 16:43:32 +00:00
Wouter den Breejen
267ccc589d
Nix now understands the difference between runtime-state-components and non-runtime-state-compontens. Components and Derivations are now properly (re)build/derived (or not) when necessary.
2007-06-08 16:00:55 +00:00
Wouter den Breejen
bcf9d3ab2f
2007-06-04 16:51:15 +00:00
Wouter den Breejen
9c46444641
Before creating multiple derivation - component instances
2007-05-31 17:18:13 +00:00
Wouter den Breejen
25117fd165
the command /nixstate/nix/bin/nix-state --run /nix/store/sig2qgvaayydrwy5hn6b2dm5r2ayhv5s-hellohardcodedstateworld-1.0 now causes state to be checked and comitted
2007-05-30 17:16:25 +00:00
Wouter den Breejen
653e557e81
Before modifying commit shell script
2007-05-30 11:27:01 +00:00
Wouter den Breejen
cbd0d39583
Added beginnnings of getStatePathClosure and GetDrv in local-store.cc, next: setting up variables in nix-state to recursively commit state
2007-05-29 15:42:44 +00:00
Wouter den Breejen
fbd1b78a9d
Finished set-up for nix-state, now: adding runtime state parameters & exclude state-identifier as input from state-hash
2007-05-29 11:34:54 +00:00
Wouter den Breejen
c9e78a973a
Created commit shell script; next adding nix-state
2007-05-24 15:08:12 +00:00
Wouter den Breejen
97eb8c32a0
created sub commit scripts
2007-05-22 16:57:36 +00:00
Wouter den Breejen
86b053dd80
Fixed backwards compatible hack & added state creation call after build
2007-05-22 13:19:27 +00:00
Wouter den Breejen
802d7f40bd
Small fix
2007-05-21 21:56:34 +00:00
Wouter den Breejen
5cac336820
Repositorys are created, state dirs are checked out automatically
2007-05-21 21:34:49 +00:00
Wouter den Breejen
8a7874d77d
in the middle of adding nixStoreState ...
2007-05-18 19:50:58 +00:00
Wouter den Breejen
4c63f18dcc
added state options and state locations into drv
2007-05-16 10:16:10 +00:00
Wouter den Breejen
b712f0f019
First commit
2007-05-15 09:26:33 +00:00
Eelco Dolstra
4be5443882
* Remove unnecessary inclusions of aterm2.h.
2006-09-04 22:08:40 +00:00
Eelco Dolstra
75068e7d75
* Use a proper namespace.
...
* Optimise header file usage a bit.
* Compile the parser as C++.
2006-09-04 21:06:23 +00:00
Eelco Dolstra
05f0430de1
* Another change to low-level derivations. The last one this year, I
...
promise :-) This allows derivations to specify on *what* output
paths of input derivations they are dependent. This helps to
prevent unnecessary downloads. For instance, a build might be
dependent on the `devel' and `lib' outputs of some library
component, but not the `docs' output.
2005-01-20 14:10:19 +00:00
Eelco Dolstra
96de272b48
* Renamed normalise.cc' -> build.cc', `storeexprs.cc' ->
...
`derivations.cc', etc.
* Store the SHA-256 content hash of store paths in the database after
they have been built/added. This is so that we can check whether
the store has been messed with (a la `rpm --verify').
* When registering path validity, verify that the closure property
holds.
2005-01-19 16:39:47 +00:00