Commit graph

71 commits

Author SHA1 Message Date
Ana Hobden c79dcb91ae
Release v0.14.0 (#679) 2023-10-18 10:18:59 -07:00
Graham Christensen 32dcdb7550
Make our Nix installation immune to macOS upgrades (#672)
* Add cargo-watch

* clippy: the borrowed expression implements the required traits

* clippy: expression creates a reference which is immediately dereferenced by the compiler

* clippy: redundant closure

* clippy: this if-then-else expression returns a bool literal

* clippy: explicit call to .into_iter() in function argument accepting IntoIterator

* Clippy: an implementation of From is preferred since it gives you Into<_> for free where the reverse isn't true

* Support cargo building on a mac

* Create a nix-hook service on macos to inject the shell at startup

* Introduce nix-installe restore-shell to fix the init scripts, called by the nix-hook plist on every login

* Wait for /nix to be there, and restart the hook until it works

* Back to run-at-load hoping that works

* Revert "Back to run-at-load hoping that works"

This reverts commit cccb8bcd971e296fecc0a2dba4f1101795bcd5ba.

It starts too early, fails, and then aborts. When it fails,
launchd says the service failed to initialize and that the system
is read-only.

* nits

* rename to repair

* Handle --no-modify-profile

* fmt

---------

Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-10-16 11:50:33 -07:00
Ana Hobden 201fd4a0a7
Release v0.13.1 (#666) 2023-10-04 09:08:02 -07:00
Graham Christensen 95045cf8c0
flake-compat: use flakehub (#663) 2023-10-03 10:47:17 -07:00
Ana Hobden d01e1b820c
Release v0.13.0 (#652) 2023-09-28 17:02:45 -07:00
Ana Hobden b0bdd3ddef
Revert "Release v0.12.1 (#649)" (#650)
This reverts commit af06724a5e.
2023-09-28 22:35:57 +00:00
Ana Hobden af06724a5e
Release v0.12.1 (#649) 2023-09-28 14:35:35 -07:00
Ana Hobden 3c7297e6ab
v0.12.1-unreleased (#644)
* v0.12.0-unreleased

* v0.12.1-unreleased...
2023-09-27 15:01:58 +00:00
Ana Hobden aed05e9a5c
Release v0.12.0 (#641) 2023-09-25 13:36:51 -07:00
Graham Christensen 60e5fff623
Support user-defined diagnostics attribution (#635)
* Switch to flakehub

* Diagnostics: support user-defined attribution.

Allows a user to specify an additional value to associate their diagnostics with that value. nix-installer doesn't generate or store these values, and most users have no need for it.

* Respond to feedback
2023-09-20 11:23:23 -07:00
Ana Hobden 329861feca
Release v0.11.0 (#602) 2023-08-14 12:08:33 -07:00
Ana Hobden 72bc65b2ab
Enable clippy on CI (#574)
* Enable clippy on CI

* Use rustc in check-clippy...
2023-08-14 10:00:34 -07:00
Luc Perkins c38de2dbc5
Remove local eclint derivation (#537) 2023-06-28 10:40:44 -07:00
Ana Hobden b3a371bed1
v0.10.1-unreleased (#536) 2023-06-28 07:55:00 -07:00
Ana Hobden e3cb3725cd
Release v0.10.0 (#534) 2023-06-27 10:28:36 -07:00
Ana Hobden 5524d4546b
Fix devshell on i686 (#533) 2023-06-27 06:54:29 -07:00
Matthew Kenigsberg 47f2630702
Fix darwin devShell (#514)
* Move Linux only dependencies to isLinux block

SELinux tools are Linux specific

* Add apple_sdk Security framework to devShell

Otherwise cargo build fails with:
ld: framework not found Security
2023-06-14 13:41:10 -07:00
Ana Hobden d47968d982
Bump to v0.9.2-unreleased (#497) 2023-05-31 16:43:17 +00:00
Ana Hobden 457127bc2b
Release v0.9.1 (#484) 2023-05-30 09:05:55 -07:00
Ana Hobden e0cc66038a
Bump to v0.9.1-unreleased (#483)
* Bump to v0.9.1-unreleased

* Also get cargo files
2023-05-26 20:04:26 +00:00
Ana Hobden 5d0e28fcfb
Release v0.9.0 (#473) 2023-05-19 17:03:14 +00:00
Ana Hobden eb41cc9205
Improve container docs somewhat (#472)
* Improve container docs somewhat

* compatibility

* Clarify this
2023-05-18 17:14:03 +00:00
Ana Hobden e3a5ffc8f7
Add SELinux support (#465)
* Add SELinux support

* Nits

* Fix spellcheck

* Don't store mod, use locked shell

* Unwhoops a stale comment

* Speeling: Myy aarch neemesis

* Fix lost code:

* Add method note
2023-05-17 16:27:14 +02:00
Ana Hobden 1ae77d11ee
Bump dependencies (#444) 2023-05-03 11:01:34 -07:00
Ana Hobden e4956fe3ea
0.8.1-unreleased (#437) 2023-05-01 16:03:44 +00:00
Ana Hobden 4cc8326ee9
Release v0.8.0 (#415) 2023-04-12 14:38:17 +00:00
Ana Hobden 352a50b921
Split output docs (#407) 2023-04-10 09:24:13 -07:00
Ana Hobden 8bb37f1bcf
Uninstall shouldn't fail fast (#382)
* Uninstall shouldn't fail fast

* wip

* wip

* No longer fails fast

* Tidy up error handling

* Touchup post merge

* Refactor nix tests

* Some minor fixes

* Uninstall fail tests

* Fiddle with messaging

* nixfmt

* Tweak display a bit

* fix docs

* Fix Mac

* Revert setting I was testing

* Reflect feedback about a log level
2023-04-05 15:12:38 +00:00
Ana Hobden a10261e882
v0.7.1-unreleased (#393) 2023-03-30 08:28:26 -07:00
Ana Hobden a506ac88ee
Release v0.7.0 (#390) 2023-03-29 14:21:00 -07:00
Ana Hobden f95ed913f6
Add semver check (#156)
* Add semver check

Fix format

Speeling

Speeling

* Further contributing note

* Speeling

* Fix hostPlatform -> stdenv issue

* Bump dependencies

---------

Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2023-03-29 10:24:08 -07:00
Ana Hobden 775df0383f
Bump to 0.6.1-unreleased (#353) 2023-03-20 15:07:01 -07:00
Ana Hobden a9a2e4bad7
Release v0.6.0 (#352) 2023-03-20 10:31:58 -07:00
Ana Hobden 8afb8e457d
Use nixpkgs-unstable (#351) 2023-03-20 09:38:44 -07:00
Ana Hobden f2437037f2
Add curing vm tests (#312)
* add some additional vm tests

* Wire things up

* Add further tests

* Fixups

* Add more exhaustive default test check

* Whoops fmt

* Disable a currently breaking test

* Repair notice content in CONTRIBUTING.md
2023-03-09 17:29:49 +00:00
Cole Helbling c42a3f58d9
v0.5.1-unreleased (#307) 2023-03-06 12:51:43 -08:00
Cole Helbling 9d939e7885
Release v0.5.0 (#305) 2023-03-06 19:12:12 +00:00
Ana Hobden f9f927840d
Release v0.4.0 (#273) 2023-02-24 22:29:52 +00:00
Ana Hobden db329ea65f
Prelease tidy and add is_ci to Diagnostics (#271)
* Some pre-release tidy and add is_ci to diagnostics

* Bump locks

* Fixup cargo-audit raised issues

* Remove a spare 'I' which we were saving for later

* rename a field

* failure_variant, not error_variant
2023-02-24 13:07:11 -08:00
Ana Hobden 41fdc2d20e
Release v0.3.0 (#249) 2023-02-14 09:45:20 -08:00
Ana Hobden 1c0c92f35e
Repair some tests (#248)
* Repair some tests

* Yank sha256 prefixes
2023-02-13 23:33:30 +00:00
Ana Hobden e35278a121
It's the Determinate Nix Installer (#242)
* We like the phrasing the Determinate Nix Installer for now

* Cajoled

* Fixups
2023-02-10 19:48:44 +00:00
Ana Hobden 4884588339
Bump Nix to 2.13.2 (#236)
* Bump Nix to 2.13.2

* Use nix 2.13.2 in flake

* Prod CI
2023-02-08 11:41:36 -08:00
Ana Hobden 2c91bea9eb
Add 32 bit support (#229)
* Add 32 bit support

* Add buildkite job for i686

* Use x86 for system on i686

* Adapt nix-installer.sh script to support i686
2023-02-06 07:50:23 -08:00
Ana Hobden 3d1b9f2644
v0.2.1-unreleased (#232) 2023-02-02 18:38:46 +00:00
Ana Hobden 95852f295e
Release v0.2.0 (#230) 2023-02-01 13:46:55 -08:00
Ana Hobden d69f335703
init-less install (#188)
* wip

* Add dockerfile

* Add readme bits

* Fix logic inversion

* Relax init detection error

* Tidying heuristics

* Fix doc tests

* Mac supports start-daemon false

* Get VM tests working

* Add instructions

* Some target_os flagging

* More target flagging

* Fix lints

* Fixup more mac-only stuff

* cfg flag examples too

* Fix planner wording

* More os specific lint fixing

* More refinement on mac and the README

* Add new CI jobs to test no-daemon

* Use nix-installer-pr to point at branch

* Tests with no-init

* init/no-daemon are linux only

* nix tests support a per-distro all attribute

* Add working podman test

* Expand docker tests

* Add contributing notes

* format

* Support both podman and docker

* Update contributing

* Add Windows WSL test script for Ubuntu

* format nix tests

* More ignores to check-spelling

* Add systemd based wsl test

* We don't have root-only darwin

* Reflect review nits

* Reenable tests

* Restore mac plan

* Flag off os specific tests

* Better cfg flagging

* Remove dead comments

* Rework readme to look better with new sections

* Correct codeblock language

* Remove some warnings
2023-02-01 12:35:52 -08:00
Ana Hobden 39a080b7c4
v0.1.0-unreleased (#210) 2023-01-25 17:46:37 +00:00
Ana Hobden 24a94ec3f9
Re-release v0.0.2 (#201) 2023-01-19 11:14:08 -08:00
Ana Hobden 17062e678a
Revert "Release v0.0.2 (#198)" (#200)
This reverts commit a29ebd7ae8.
2023-01-19 08:53:09 -08:00