66 Commits

Author SHA1 Message Date
Clément DOUIN
f92b6a6bb5 make use of pimalaya/nix 2024-11-28 15:34:58 +01:00
Clément DOUIN
0ae35beb0d fix typo 2024-11-27 15:36:34 +01:00
Clément DOUIN
b55935cc39 add minimal features set 2024-11-27 15:20:26 +01:00
Clément DOUIN
9e15acf14f remove wine dep from build 2024-11-27 11:56:40 +01:00
Clément DOUIN
6a67d18683 fix wrong nixpkgs + wineboot arg 2024-11-27 10:48:13 +01:00
Clément DOUIN
eca47cf2f7 try to fix windows wine 2024-11-27 10:36:10 +01:00
Clément DOUIN
4cf8b2ded0 fix wrong apple target name with darwin 2024-11-27 10:13:29 +01:00
Clément DOUIN
74fcc0d44f fix target name in CI 2024-11-27 10:10:20 +01:00
Clément DOUIN
6dc448b062 clean both flake and non-flake API 2024-11-27 10:04:12 +01:00
Kovacsics Robert
90c3bef172 Use Crane instead of Naersk
See
3cb338ce81/examples/quick-start/flake.nix

Fixes pimalaya/himalaya#483
2024-11-22 10:17:42 +00:00
Kovacsics Robert
590d0a0e8c Fix warning about getExe deprecation 2024-11-22 10:15:22 +00:00
Clément DOUIN
5c4b03474e add cargo features to the long version 2024-11-22 09:51:43 +01:00
Kovacsics Robert
c36e72b5f6 Allow passing in GIT_DESCRIBE/GIT_REV to avoid git repo
This should allow building inside a flake
2024-11-21 16:31:11 +00:00
Clément DOUIN
36f3690cba fix long version on nix and ci 2024-11-20 15:00:17 +01:00
Clément DOUIN
396a91a322 improve long version arg #496 2024-11-11 21:42:16 +01:00
Clément DOUIN
92814d6043 fix pre-release archives
commit f644ba7052
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Wed Oct 30 16:30:39 2024 +0100

    do not remove share folder

commit 00e7148352
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Wed Oct 30 16:21:35 2024 +0100

    upload folder and exe instead of archive
2024-10-30 16:50:15 +01:00
Clément DOUIN
fecbae001c clean darwin fix
commit 994515f3dbd3fa41c50fb5a080d584a7be365601
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 19:38:43 2024 +0100

    clean

commit ac3d181628
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 19:25:35 2024 +0100

    replace buildInputs by NIX_LDFLAGS

commit 4d69fd56e2
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 19:06:03 2024 +0100

    remove NIX_LDFLAGS

commit 69a6d17570
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 18:50:52 2024 +0100

    use framework 11.0

commit 97ee430bc8
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 18:19:42 2024 +0100

    revert flake lock

commit 61905bb849
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 18:01:21 2024 +0100

    clean aarch64 nix conf

commit 55594cc6a7
Author: Clément DOUIN <clement.douin@posteo.net>
Date:   Tue Oct 29 17:41:48 2024 +0100

    replace rustls-native-certs by rustls-platform-verifier
2024-10-29 19:39:43 +01:00
Clément DOUIN
ff1996107b add missing darwin frameworks 2024-10-29 16:57:43 +01:00
Clément DOUIN
d54e2b31b7 use nixpkgs unstable 2024-10-29 12:12:42 +01:00
Clément DOUIN
c44cac50eb use back apple sdk 11.0 on x86_64-darwin 2024-10-29 12:09:41 +01:00
Clément DOUIN
7b55da8c40 revert flake nixpkgs rev 2024-10-29 11:49:06 +01:00
Clément DOUIN
52aa6336a0 bump flake deps, use apple sdk 11.0 on x86_64-darwin 2024-10-29 11:21:27 +01:00
Clément DOUIN
7c17f801eb try to fix macos-13 build 2024-10-29 10:53:03 +01:00
Clément DOUIN
a6344d682d Revert "remove cargo cache"
This partially reverts commit 2d53144c7c.
2024-09-17 09:02:02 +02:00
Clément DOUIN
2d53144c7c remove cargo cache
Looks like cargo cache is inside the Nix store.
2024-09-17 08:55:54 +02:00
Clément DOUIN
74ec31014c fix ci macos version 2024-09-04 11:38:46 +02:00
Clément DOUIN
afd7d79e41 try to fix ci 2024-09-04 11:20:21 +02:00
Clément DOUIN
095d519dd0 clean remaining parts 2024-04-19 22:11:16 +02:00
Clément DOUIN
087a0821bc fix typo getExec 2024-04-19 20:44:03 +02:00
Clément DOUIN
cf6000f1e4 clean apps and packages part 1 2024-04-19 17:04:02 +02:00
Clément DOUIN
c022e66289 fix gh action ls 2024-04-19 09:44:16 +02:00
Clément DOUIN
5003abe1e1 fix post install 2024-04-19 08:34:15 +02:00
Clément DOUIN
4590348bf2 merge archives packages with regular ones 2024-04-19 07:22:25 +02:00
Clément DOUIN
a066774f22 clean namings 2024-04-18 23:34:15 +02:00
Clément DOUIN
c57988770a fix windows ext 2024-04-18 22:42:11 +02:00
Clément DOUIN
7fbd97ceba add nix test github workflow 2024-04-18 22:06:24 +02:00
Clément DOUIN
7899484942 separate simple packages from archives packages for releases 2024-04-18 16:54:48 +02:00
Clément DOUIN
10de8e9fb4 release v1.0.0-beta.4 2024-04-16 22:26:10 +02:00
Jalil David Salamé Messina
ed5407a5c7 remove flake-utils from the flake inputs
As requested in <https://todo.sr.ht/~soywod/pimalaya/131> I removed
flake-utils. This reduces the number of flake inputs and doesn't add
much code.

The way this works, is that instead of `eachDefaultSystem` we have a
function `forEachSupportedSystem`, this function generates an attrset
with a key for each system in the `supportedSystems` array, whose value
is the result of calling the provided function with the system as an
argument:

```nix repl
repl> forEachSupportedSystem f
{
  "x86_64-linux" = f "x86_64-linux";
  ...
}
```

This is slightly clumsier than `flake-utils.lib.eachDefaultSystem`,
which rewrites the returned attrset, but it is much less code and
simpler to understand.

I tested the build with `nix build` on `x86_64-linux` and it still works
c:
2024-03-09 13:54:37 +01:00
Clément DOUIN
e945c4b8e2 replace sqlite by sled for id mapping storing 2024-02-24 09:37:55 +01:00
Clément DOUIN
1246be8a5b fix wizard serialization issues 2024-01-12 10:16:43 +01:00
Clément DOUIN
b0d7e773dc renamed sync feature to account-sync, put wizard stuff under feature 2024-01-09 09:28:45 +01:00
Clément DOUIN
12e71a5ba8 improve release process 2024-01-01 16:22:30 +01:00
Clément DOUIN
131acd6230 update flake deps, fix gh release interpreter 2023-12-31 11:05:08 +01:00
Clément DOUIN
7ad1772c83 update pimalaya libs, prepare v0.9.0 2023-08-28 09:05:14 +02:00
Clément DOUIN
0eed8f355d add gpg support 2023-08-05 12:10:25 +02:00
Clément DOUIN
21f67bc7f5 set up imap oauth2 config 2023-05-04 12:17:43 +02:00
Clément DOUIN
e271ca4293 fix different toolchain channel between shells and packages 2023-05-01 16:13:31 +02:00
Clément DOUIN
9453f83c94 fix unit tests 2023-05-01 00:44:59 +02:00
Clément DOUIN
84003f951a improve cross compilation, prepare v0.7.2 2023-05-01 00:19:59 +02:00