Closed rvem closed 1 year ago
Personally I wouldnt check the lockfile for an example into version control but apart from that it looks good. Can't test currently :/
Personally I wouldnt check the lockfile for an example into version control
I didn't think about that previously by it indeed makes sense to not include it
@PhilTaken, will you get a chance to look at this PR once again? :sweat_smile:
From my side I can confirm that I already tested this on a VM and baremetal macOS instances
@rvem I'll check it out this evening 😉 might even fire up a vm and try it out
Problem: It's possible to use 'deploy-rs' for deploying 'darwinSystem' configuration from 'nix-darwin' to a darwin system. However, there is no dedicated activatiot script for darwin and thus one has to come up with 'custom' activation script.
Solution: 1) Add 'darwin' attribute to 'lib.activate' that provides a script that should be used to activate 'darwinSystem' config with 'deploy-rs'. 2) Add a new 'examples/darwin' example that provides simple flake for deploying configuration to a darwin target.
Resolves #210