* We no longer use nix-populate standalone, rather we use it as a
build action for `system' packages (like system.fix) that have
dependencies on all packages we want to activate.
So the command sequence to switch to a new activation configuration
of the system would be:
$ fix -i .../fixdescriptors/system.fix
...
system.fix -> 89cf4713b37cc66989304abeb9ea189f
$ nix-switch 89cf4713b37cc66989304abeb9ea189f
* A nix-profile.sh script that can be included in .bashrc.
svn path=/nix/trunk/test/; revision=39
This commit is contained in:
11
fixdescriptors/system.fix
Normal file
11
fixdescriptors/system.fix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Descr(
|
||||||
|
[ Bind("pkgId", Str("system"))
|
||||||
|
, Bind("releaseId", Str("1"))
|
||||||
|
|
||||||
|
, Bind("actATerm", Pkg(Fix("./aterm-2.0.fix")))
|
||||||
|
, Bind("actPkgConfig", Pkg(Fix("./pkgconfig-0.15.0.fix")))
|
||||||
|
, Bind("actGlib", Pkg(Fix("./glib-2.2.1.fix")))
|
||||||
|
|
||||||
|
, Bind("build", File(Local("../../scripts/nix-populate")))
|
||||||
|
]
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user