Skip to content

Commit

Permalink
Update README for agent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpausp committed Sep 13, 2023
1 parent 78d65bb commit e601c19
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ Development on a Test VM
------------------------

For development on a FCIO test VM, sync the fc-nixos source tree to the target
machine and set up the `channels` directory:
machine and set up the `channels` directory with:

./dev-setup

This can be done as regular user.
This can be done as regular user. Run the command again when nixpkgs changes
in order to update the `channels` directory.

The VM has to use a matching environment that points to the `channels` dir.
`fc-manage -b` (as root) then uses the local code to rebuild the system.
`fc-manage switch` (as root) then uses the local code to rebuild the system.


Build packages
--------------
Build Single Packages
---------------------

Run in development mode:

Expand All @@ -36,13 +37,14 @@ Or build package by directly calling a Nix expression:
nix-build -E 'with import <nixpkgs> {}; callPackage path/to/file.nix {}'


(Dry) system build
(Dry-)Build System
------------------

Run in development mode:

nix-build '<nixpkgs/nixos>' -A system

Must be executed as *root* on FCIO test VMs.

Execute test
------------
Expand Down

0 comments on commit e601c19

Please sign in to comment.