Commit Graph

67 Commits

Author SHA1 Message Date
Stefan Frijters
711b9bd4c8
lima: fix cross
Only try to generate shell completions if the executables can be run
2024-11-16 21:15:51 +01:00
Kenichi Kamiya
179d274b6e
lima: fix build on Linux 2024-11-15 19:21:48 +09:00
Ihar Hrachyshka
9254e653c1 lima: drop explicit xcbuild dependency 2024-11-13 15:39:11 -05:00
Ihar Hrachyshka
22631622c6 lima: fix vz driver support
Otherwise, a newer lima fails to start a ubuntu VM with the following
error:

```
vm driver 'vz' needs macOS 13 or later (Hint: try recompiling Lima if
you are seeing this error on macOS 13)
```

While _13 would technically work, the virt library they use has
availability checks up to 15:

https://github.com/search?q=repo%3ACode-Hex%2Fvz+available+15&type=code
2024-11-13 15:38:53 -05:00
Ihar Hrachyshka
424c93460b lima: 0.22.0 -> 1.0.1 2024-11-13 15:38:35 -05:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Yuriy Taraday
a58bfa1150 lima-bin: Fix completion generation
It was running unpatched binary which was failing and thus generating
empty output. After https://github.com/NixOS/nixpkgs/pull/289517
installShellCompletion errors out because of this, which lead to broken
build.

Move installShellCompletion call to after autoPatchelfHook in
fixupPhase.
2024-08-20 11:42:41 +02:00
Jan Tojnar
7987842fec
Merge pull request #318589 from jtojnar/u-s-v-ignore-same
common-updater-scripts/u-s-v: support --ignore-same-version
2024-06-13 00:41:07 +02:00
Jan Tojnar
0421c816ba treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice.
- with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
2024-06-09 20:33:23 +02:00
R. Ryantm
23f4ef15fc lima-bin: 0.21.0 -> 0.22.0 2024-06-06 08:57:45 +00:00
R. Ryantm
b564b4b93b lima: 0.21.0 -> 0.22.0 2024-05-07 14:44:01 +00:00
R. Ryantm
2e71918588 lima: 0.20.2 -> 0.21.0 2024-03-30 16:38:41 +00:00
R. Ryantm
ac958b38f4 lima-bin: 0.20.2 -> 0.21.0 2024-03-19 17:26:45 +00:00
R. Ryantm
9551a14210 lima: 0.20.1 -> 0.20.2 2024-03-16 09:26:27 +00:00
R. Ryantm
03888f44e7 lima-bin: 0.20.1 -> 0.20.2 2024-03-12 10:30:33 +00:00
R. Ryantm
7d133525d3 lima-bin: 0.19.1 -> 0.20.1 2024-02-28 10:21:08 +00:00
R. Ryantm
384c0cf6c1 lima: 0.19.1 -> 0.20.1 2024-02-03 11:57:10 +00:00
R. Ryantm
8b9e8943bb lima-bin: 0.19.0 -> 0.19.1 2024-01-07 09:26:50 +00:00
R. Ryantm
2f3c5f0f69 lima: 0.18.0 -> 0.19.1 2023-12-26 18:04:26 +00:00
Martin Wimpress
e5d396dad7
lima-bin: 0.18.0 -> 0.19.0 2023-12-07 09:08:50 +00:00
R. Ryantm
8f55e6cae2 lima-bin: 0.17.2 -> 0.18.0 2023-10-30 20:42:34 +00:00
R. Ryantm
2b5facdc8c lima: 0.17.2 -> 0.18.0 2023-10-13 20:19:16 +00:00
Weijia Wang
ff99e985fd lima-bin: set platforms 2023-08-30 20:51:10 +02:00
R. Ryantm
051f64fab8 lima-bin: 0.17.0 -> 0.17.2 2023-08-30 16:38:56 +00:00
R. Ryantm
cceff19a9a lima: 0.17.0 -> 0.17.2 2023-08-20 18:54:21 +00:00
R. Ryantm
e28c99adba lima-bin: 0.16.0 -> 0.17.0 2023-08-09 02:16:16 +00:00
R. Ryantm
3e38bd65bd lima: 0.16.0 -> 0.17.0 2023-08-06 22:09:14 +00:00
R. Ryantm
5f2dc48eba lima-bin: 0.15.1 -> 0.16.0 2023-06-06 07:33:25 +00:00
R. Ryantm
a0a92f60b2 lima: 0.15.1 -> 0.16.0 2023-06-02 18:18:20 +00:00
Weijia Wang
e8f738ff17
Merge pull request #227801 from r-ryantm/auto-update/lima-bin
lima-bin: 0.15.0 -> 0.15.1
2023-05-24 11:37:59 +03:00
R. Ryantm
9732985563 lima-bin: 0.15.0 -> 0.15.1 2023-04-23 13:28:39 +00:00
R. Ryantm
b65f68fdcd lima: 0.15.0 -> 0.15.1 2023-04-23 09:21:57 +00:00
R. Ryantm
cb0472b232 lima-bin: 0.14.2 -> 0.15.0 2023-03-11 10:52:29 +00:00
Fabian Affolter
d6615f70d3
lima: add changelog to meta 2023-03-02 10:37:24 +01:00
R. Ryantm
40c00753e7 lima: 0.14.2 -> 0.15.0 2023-03-01 22:10:33 +00:00
tricktron
379895e3c3
lima-bin: init binary derivation at 0.14.2 (#209171) 2023-01-27 01:45:01 +01:00
JB Gosselin
fa65a5e2a6
lima: 0.14.2 2022-12-29 14:12:05 -05:00
JB Gosselin
788a5c31da
Combine substituteInPlace on Makefile
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-12-18 01:13:08 +01:00
JB Gosselin
1a5fda5f2b
remove rm, add --force to codesign 2022-12-16 11:49:22 -05:00
JB Gosselin
dc05102a83
add _output cleaning before build 2022-12-16 11:17:18 -05:00
JB Gosselin
4f67556113
lima: 0.13.0 -> 0.14.1 2022-12-15 13:28:53 -05:00
zowoq
b91b22248c lima: 0.12.0 -> 0.13.0
https://github.com/lima-vm/lima/releases/tag/v0.13.0
2022-10-30 18:39:43 +10:00
zowoq
2fc8a03f07 lima: 0.11.3 -> 0.12.0
https://github.com/lima-vm/lima/releases/tag/v0.12.0
2022-09-14 16:19:10 +10:00
R. Ryantm
e098228dc4 lima: 0.11.2 -> 0.11.3 2022-08-04 08:11:42 +10:00
zowoq
44d9956021 lima: 0.11.1 -> 0.11.2
https://github.com/lima-vm/lima/releases/tag/v0.11.2
2022-07-20 12:35:11 +10:00
zowoq
31f02117da lima: 0.11.0 -> 0.11.1
https://github.com/lima-vm/lima/releases/tag/v0.11.1
2022-06-20 08:22:02 +10:00
Vo Anh Duy
dabc1c5a1e lima: 0.10.0 -> 0.11.0 2022-05-20 11:39:21 +10:00
zowoq
a5f876f6d1 lima: 0.9.2 -> 0.10.0
https://github.com/lima-vm/lima/releases/tag/v0.10.0
2022-04-27 21:19:11 +10:00
zowoq
42eeaa206e lima: 0.9.1 -> 0.9.2
https://github.com/lima-vm/lima/releases/tag/v0.9.2
2022-03-27 07:08:54 +10:00
R. Ryantm
ac8008779d lima: 0.9.0 -> 0.9.1 2022-03-16 09:07:21 +10:00