Commit Graph

129 Commits

Author SHA1 Message Date
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
Daniel Nagy
11c5a620ef
chickenPackages: mark more as broken 2023-04-11 18:45:00 +02:00
Daniel Nagy
256b5d26b5
chickenPackages: fixes and mark broken 2023-04-10 20:15:00 +02:00
Daniel Nagy
da35fafa08
chickenPackages: Introduce overrides 2023-04-05 22:45:00 +02:00
Konstantin Astafurov
ca0335c064
chickenPackages_5: Remove ocaml dependency, switch to TOML 2023-04-04 20:15:00 +02:00
Daniel Nagy
d02bedbe28
chickenPackages_5: overhaul ecosystem 2023-04-04 20:15:00 +02:00
Artturin
fe1c7a1945 treewide: remove usages of header and stopNest
they're obsolete
2023-01-16 00:08:12 +02:00
Robert Hensing
16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Artturin
c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00
Weijia Wang
32b27a6225 chickenPackages_4.chicken: use install_name_tool 2022-12-02 20:10:13 +01:00
Weijia Wang
d5fd2b7e05 chickenPackages: fix build on aarch64-darwin 2022-11-27 03:06:53 +01:00
sternenseemann
b394f86dcb chickenPackages*.eggDerivation: set meta.platforms if not provided
This will ensure that Hydra attempts to build the eggs on all supported
platforms instead of just the platform the evaluator is running
on (currently x86_64-linux).
2022-11-19 20:13:35 +01:00
Weijia Wang
0f8774f5ac chickenPackages.egg2nix: fix build on aarch64-darwin 2022-10-24 00:55:38 +02:00
Blake Sweeney
42e79f018c
chicken: fix darwin build 2022-09-10 10:08:13 -03:00
Rick van Schijndel
ef74fd873a chickenPackages_4.chicken, chickenPackages_5.chicken: move makeWrapper to nativeBuildInputs 2022-08-14 00:10:00 +03:00
Daniel Nagy
e168e46338
chickenPackages: recurse into attrs
This makes chicken packages (eggs) discoverable.

This came up during:

https://github.com/NixOS/nixpkgs/pull/165023#issuecomment-1116655349
2022-05-04 12:02:09 +02:00
Daniel Nagy
5912e391b5
chickenEggs.tcp6: init at 0.2.1 2022-05-03 22:52:50 +02:00
Daniel Nagy
5c9f806102
chickenEggs.socket: init at 0.3.3 2022-05-03 22:52:50 +02:00
Daniel Nagy
298a451eb6
chickenEggs.foreigners: init at 1.5 2022-05-03 22:52:50 +02:00
Daniel Nagy
e31de32396
chickenEggs.feature-test: init at 0.2.0 2022-05-03 22:52:50 +02:00
Daniel Nagy
b756fabd1a
chickenEggs.address-info: init at 1.0.5 2022-05-03 22:52:49 +02:00
Daniel Nagy
876def9433
chickenEggs.sha2: init at 4.0.5 2022-05-03 22:52:49 +02:00
Daniel Nagy
e9fa73c93d
chickenEggs.message-digest-primitive: init at 4.3.2 2022-05-03 22:52:49 +02:00
Daniel Nagy
e7bd776d5b
chickenEggs.json: init at 1.6 2022-05-03 22:52:49 +02:00