diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-02 23:54:46 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-02 23:54:46 +0100 |
| commit | 61a91d3c9994aa1a176a499552c44b15dbb053d7 (patch) | |
| tree | 06095a67785502cd53aef50ece893638e1f8504b /modules/system/default.nix | |
| parent | b0e55cb39e6ee9b7c7b3f54827c8d776ae3946bf (diff) | |
improve system activation
Diffstat (limited to 'modules/system/default.nix')
| -rw-r--r-- | modules/system/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/default.nix b/modules/system/default.nix index 7689e42..9cf190e 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -46,6 +46,8 @@ in buildCommand = '' mkdir $out + systemConfig=$out + ln -s ${cfg.build.etc}/etc $out/etc ln -s ${cfg.path} $out/sw @@ -57,6 +59,8 @@ in chmod u+x $out/activate unset activationScript + echo -n "$systemConfig" > $out/systemConfig + echo -n "$nixdarwinLabel" > $out/nixdarwin-version echo -n "$system" > $out/system ''; |
