notgne2
dac53d9c9a
Add Nix-flake check for checking build and Rust tests
2021-01-26 04:51:08 -07:00
notgne2
501bfa6b72
Run set -euo pipefail
in generated activation scripts
2021-01-22 16:30:24 -07:00
notgne2
330a73e329
Check if systemd-boot is enabled before attempting to delete default entry line
2021-01-08 14:54:00 -07:00
notgne2
1021191b90
Use boot path from configuration and ignore failures when updating loader conf
2021-01-06 22:07:02 -07:00
notgne2
a9a5c4bd1e
Automatically filter out default
line from loader.conf after NixOS activation
2021-01-05 16:44:00 -07:00
Andreas Fuchs
4ed33219a9
Build "activate" binary on all platforms
...
Now that activate uses a cross-platform fs notification library, we
can build it on Darwin again (and build its deps separately, speeding
up recompiles there).
2020-12-15 13:00:01 -07:00
Andreas Fuchs
05d21e0b66
Add SPDX-FileCopyrightText to the three files that I changed substantially
2020-12-02 10:24:23 -07:00
Alexander Bantyev
2d0ad40c64
activate flake check: confirm that activate-rs exists in the profile
2020-12-02 10:24:23 -07:00
Andreas Fuchs
6ccc0b7ae9
Write an "activate-rs" script into the profile path
...
This should point to the correct path if the target platform differs
fro the deploying platform.
2020-12-02 10:24:23 -07:00
Andreas Fuchs
42cbe751a8
Fix running & building under macOS (Big Sur) ( #9 )
...
* Add xcbuild as native build input 2 ways & pass --verbose to cargo build
* Make "deploy" build on macOS
* Bump the nixpkgs version to one that ships Rust 1.47, which can
produce binaries under macOS 11 (Big Sur).
* Use darwin-specific options that let Naersk build the "deploy"
binary under macOS. (With a work-around for
https://github.com/nmattia/naersk/issues/127 , which prevents this
from being much more straight-forward).
Unfortunately, the "activate" binary can't be built under macOS due to
the inotify dependency; that means the best we can do is to run the
deploy under macOS, not deploy *to* macOS.
2020-11-24 22:11:15 -07:00
notgne2
08c6bd8b73
Update activate.nixos
to take a configuration, not a derivation
2020-11-22 18:12:29 -07:00
Alexander Bantyev
ef53906075
Scope activation commands, deprecate setActivate
2020-11-16 12:54:05 -07:00
Alexander Bantyev
54b6b551a1
Add activation presets for NixOS and noop activation
2020-11-16 12:54:05 -07:00
Christian Höppner
1c84cace61
fixup! [OPS-1085] Add CI
2020-11-16 11:49:00 +00:00
notgne2
a5d4390606
Format flake.nix
2020-11-14 20:06:56 -07:00
notgne2
9a9d9b5c3e
Remove deprecated checkSchema
2020-11-14 20:05:50 -07:00
Christian Höppner
f32a6f17f6
[OPS-1085] Add CI
2020-11-14 14:12:29 -07:00
notgne2
6ff3994dbb
Greatly expand documentation
2020-11-07 11:56:22 -07:00
notgne2
8e82b2a7c9
Show name of profiles missing activation
2020-10-30 19:11:16 -07:00
notgne2
0446a2f431
Add deprecation warning to checkSchema
2020-10-29 11:03:09 -07:00
notgne2
8b3b91344a
Improve checks usage, add check for activation script existing
2020-10-26 11:29:01 -07:00
notgne2
e463c62922
Move activate script location, use buildEnv for setActivate
2020-10-11 15:08:02 -07:00
notgne2
219d55e99e
Minor flake and documentation fixes
2020-10-08 20:01:01 -07:00
notgne2
7c00fd2761
Add interface with json schema, fix flake-less issues, put setActivate and jsonSchema check in flake lib
2020-10-05 19:46:28 -07:00
notgne2
8d21dd335e
Add license information, reformat Nix files, clean up
2020-09-29 15:10:06 -07:00
notgne2
239d0f8999
use separate binary for activation, more cleanup
2020-09-28 15:45:53 -07:00
notgne2
76dbef54af
stuff
2020-09-28 10:48:21 -07:00