Commit graph

90 commits

Author SHA1 Message Date
jade 9b02b774bb Update version to 2.90.0
Change-Id: I7019ce4188061e9481add774938f5b20c785a416
2024-07-10 19:10:49 +02:00
jade 0256e915e7 Fix various bugs in the tests such that Lix works now
- We were looking for a top-level tarball path that looked like nix-*.
  This was invalid, since our tarballs have lix-*.
- We were looking for a store path that looked like nix-*.*.*. This was
  invalid, since ours is lix-*.*.*.

  This change accepts both.
- We also added a symlink for nix-installer and nix-installer.sh, which
  deals with the test suite being pretty tightly coupled to that path.
- We fixed a bug exposed in the tests where --no-substitute is not
  passed while self-testing builds. This seems to have been relying on
  offline detection and while it eventually passed, it was busted and
  took ages.

Change-Id: I2f497bd647ecf1db5963a4bb245279db582d2af3
2024-06-15 20:03:03 -07:00
jade 4a4f16676d Update version to 2.90.0-rc1
Change-Id: I05f3efd6663bec418ce93fb2dca53977d3523f7d
2024-06-14 21:12:44 -07:00
Artemis Tosini f1a45806c7
flake: test using lix
Previously we used a nix install tarball built from nix 2.20.5,
download with flakehub.

That does not make sense for a lix installer, use Lix 2.90 beta 1
instead.

Also use this opportunity to remove the unused flake-compat input.

Change-Id: I622bb9fedb45f3a03c1e5f43757afbd0222c6b90
2024-06-02 01:41:14 +00:00
Kate Temkin 5d8b5248d8 tools: add scripts to build all and upload all 2024-04-12 06:33:04 -06:00
ktemkin 220e252230 upload a baseline that's been de-detsys'd 2024-04-02 15:40:06 -06:00
Eelco Dolstra 41dc9fecde
Mark release (#885) 2024-03-07 20:47:08 +01:00
Eelco Dolstra 79e3aa2beb
Upgrade to Nix 2.20.5 (CVE-2024-27297) (#882) 2024-03-07 19:51:15 +01:00
Cole Helbling 9c109b71d1
Bump version to 0.17.1-unreleased (#861) 2024-02-23 14:12:58 -08:00
Cole Helbling e6117e8741
Release v0.17.0 (#859) 2024-02-23 12:26:10 -08:00
Cole Helbling 09ddc9be6b
Nix 2.20.3 (#856) 2024-02-23 07:49:07 -08:00
Ana Hobden d6c5e1f114
0.16.2-unreleased (#827) 2024-01-26 12:31:41 -08:00
Ana Hobden 7119f93bd0
Release v0.16.1 (#826) 2024-01-26 08:44:39 -08:00
Ana Hobden 2477de21eb
Bump to 0.16.1-unreleased (#808) 2024-01-08 18:43:45 +00:00
Ana Hobden fb4401df00
Release v0.16.0 (#804) 2024-01-08 08:41:39 -08:00
Ana Hobden 0419422de0
nix-2.19.2 (#756)
* nix-2.19.2

* Fix speeling
2023-11-30 16:51:41 -08:00
Ana Hobden a176784a03
0.15.1-unreleased (#755) 2023-11-30 18:59:40 +00:00
Ana Hobden df9610edba
Release v0.15.1 (#729) 2023-11-14 19:04:27 -08:00
Ana Hobden b48c7204bc
Release v0.15.0 (#728) 2023-11-14 16:05:36 -08:00
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