Commit Graph

152 Commits

Author SHA1 Message Date
Weijia Wang
34134be7a2
chickenPackages_5.chickenEggs.lowdown: fix build (#358455) 2024-11-23 16:45:48 +01:00
Linus Vettiger
89ba4d2a77
chickenPackages_5.chickenEggs.lowdown: fix build 2024-11-23 16:24:36 +01:00
Jacek Galowicz
fbbf8d36c2 chickenPackages_5.chickenEggs.medea: fix build 2024-11-23 09:47:28 +00:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
Francesco Gazzetta
f1927518dd chickenPackages.chickenEggs.comparse: unbreak 2024-10-03 07:24:43 +00:00
David McFarland
e464819978
chickenPackages.chickenEggs.webview: repair (#343291) 2024-10-02 17:53:54 -03: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
Daniel Nagy
e51ed7ef17
chickenPackages.chickenEggs.webview: repair 2024-09-20 17:15:00 +02:00
Daniel Ziltener
6542b45140
chickenPackages.chickenEggs: re-enable lsp-server, transducers eggs 2024-09-17 00:11:12 +02:00
Daniel Ziltener
b1fbb294cd
chickenPackages.chickenEggs: Chicken scheme egg updates 2024-09-17 00:10:36 +02:00
Konstantin Astafurov
9f61def816 chickenPackages.chickenEggs: fix allegro, dbus, math, and socket eggs 2024-07-19 13:01:16 -04:00
Konstantin Astafurov
dacbe420fb chickenPackages.chickenEggs: format 2024-07-19 12:58:24 -04:00
Konstantin Astafurov
09b16ef79b chickenPackages.chickenEggs: update 2024-07-17 15:28:20 -04:00
R. Ryantm
266d23ef5d chicken: 5.3.0 -> 5.4.0 2024-07-17 00:38:04 +00:00
Daniel Nagy
ccf18649f7
chickenPackages.chickenEggs: update 2024-06-25 23:15:00 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Weijia Wang
e9fd7afed7
Merge pull request #305884 from wegank/chicken-fixes-2
chickenPackages_5: fix build with clang
2024-04-26 11:40:45 +02:00
Jonas Heinrich
f7709cf1b3 treewide: switch from rocksdb -> rocksdb_8_3 2024-04-22 13:02:14 +02:00
Weijia Wang
2eeab3a893 chickenPackages_5: fix build with clang 2024-04-22 04:53:30 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Daniel Nagy
bc167fded1
chickenPackages.chickenEggs: update 2024-01-23 13:00:00 +01:00
Daniel Nagy
a886adb9d0
chicken: prevent "cross" feature for native build
Fixes #275901
2023-12-31 13:30:00 +01:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
Weijia Wang
524888629f chickenPackages_5.chickenEggs: fix license 2023-12-12 21:39:50 +01:00
Randy Eckenrode
c9575b19aa
chickenPackages_4.chicken: fix build on x86_64-darwin
Use the `@executable_path` because the full path to the store is too long.

Also add the target prefix to `install_name_tool`.
2023-11-07 18:50:29 -05:00
github-actions[bot]
3c43b804d4
Merge master into staging-next 2023-11-03 18:01:23 +00:00
Daniel Nagy
8008b57675
chickenPackages.chickenEggs.taglib: fix build 2023-10-30 19:15:00 +01:00
Daniel Nagy
af99f7c796
chickenPackages.chickenEggs.sdl-base: fix build on linux 2023-10-30 19:15:00 +01:00
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Daniel Nagy
291a3c4a47
chickenPackages.chickenEggs.sdl2-ttf: fix build on linux
Change needed since the enablement of `strictDeps = true`.
2023-10-24 14:45:00 +02:00
Daniel Nagy
24e19542cf
chickenPackages.chickenEggs.sdl2-image: fix build on linux
Change needed since the enablement of `strictDeps = true`.
2023-10-24 14:45:00 +02:00
Daniel Nagy
4e618602f0
chickenPackages.chickenEggs.sdl2: fix build on linux
Change needed since the enablement of `strictDeps = true`.
2023-10-24 14:45:00 +02:00
Maximilian Bosch
8bc5104a6e
treewide: refactor .attrs.sh detection
When specifying the `builder` attribute in `stdenv.mkDerivation`, this
will be effectively transformed into

    builtins.derivation {
      builder = stdenv.shell;
      args = [ "-e" builder ];
    }

This also means that `default-builder.sh` is never sourced and as a
result it's not guaranteed that `$NIX_ATTRS_SH_FILE` is set to a correct
location[1].

Also, we need to source `.attrs.sh` to source `$stdenv`. So, the
following is done now:

* If `$NIX_ATTRS_SH_FILE` points to a correct location, then use it.
  Directly using `.attrs.sh` is problematic for `nix-shell(1)` usage
  (see previous commit for more context), so prefer the environment
  variable if possible.

* Otherwise, if `.attrs.sh` exists, then use it. See [1] for when this
  can happen.

* If neither applies, it can be assumed that `__structuredAttrs` is
  turned off and thus nothing needs to be done.

[1] It's possible that it doesn't exist at all - in case of Nix 2.3 or
    it can point to a wrong location on older Nix versions with a bug in
    `__structuredAttrs`.
2023-10-04 18:36:57 +02:00
Daniel Nagy
4515a08c28
chickenPackages.chickenEggs: update 2023-10-02 12:30:00 +02:00
Daniel Nagy
f58a6078fa
chickenPackages: turn into scope
The purpose of this change is to allow the overriding of one egg, which in turn
affects all dependents of that eggs.
2023-08-21 17:00:00 +02:00
Daniel Nagy
a3dd3cce6e
chickenPackages.chickenEggs: update 2023-08-21 17:00:00 +02:00
Daniel Nagy
6149d31915
chicken: enable cross-compilation
This allows the cross compilation of chicken in, at least, the following ways:

```sh
nix-build -A pkgsCross.aarch64-multiplatform.chicken
```

and

```sh
nix-build -A pkgsCross.raspberryPi.chicken
```

Building with clang on x86_64-linux has also been repaired.

Additionally, instead of reimplementing a version tester in the
`installCheckPhase`, this test has been pulled out into its own tester
attribute.

While two broken tests needed to be disabled, the functionality of static
building is not broken. Only the tests themselves seem not to be able to handle
the specification of absolute compiler paths.
2023-07-25 20:00:00 +02:00
Daniel Nagy
9beee1207b
chickenPackages: update eggs 2023-07-18 18:45:00 +02:00
Daniel Nagy
8ea7486191
chickenPackages: update 2023-06-15 22:30:00 +02:00
Weijia Wang
09858c0a65 chickenPackages_5.chickenEggs.scheme2c-compatibility: fix build on x86_64-darwin 2023-06-14 23:19:19 +03:00
Weijia Wang
2120f22baf chickenPackages: various fixes 2023-06-13 17:32:50 +03:00
Daniel Nagy
5102f0a78d
chickenPackages: separate build phase
Also use addMetaAttrs function from lib.
2023-05-01 12:30:00 +02:00
Weijia Wang
6fc6b8f2cc chickenPackages: reduce brokenOnDarwin 2023-04-12 15:35:37 +03:00
Weijia Wang
a603e9044c
Merge pull request #225861 from wegank/chicken-pkg-config
chickenPackages: pass pkg-config to more packages
2023-04-12 14:54:29 +03:00
Weijia Wang
b3e98b8080
Merge pull request #225878 from wegank/chicken-frameworks
chickenPackages: add missing deps
2023-04-12 14:50:32 +03:00
Weijia Wang
6b7f0fbe8a chickenPackages_5.chickenEggs.opencl: unbreak on darwin 2023-04-12 13:37:58 +03:00
Et7f3
a40dfa4f64 chickenPackages_5.chickenEggs.allegro: Add missing deps 2023-04-12 13:36:45 +03:00
Weijia Wang
d51f7d4ef7 chickenPackages_5.chickenEggs.taglib: unbreak on darwin 2023-04-12 13:34:23 +03:00
Weijia Wang
edfb1b1d4f chicken: pass CXX_COMPILER 2023-04-12 13:33:57 +03:00
Weijia Wang
72767191dd chickenPackages: pass pkg-config to more packages 2023-04-12 13:32:47 +03:00