Commit Graph

19 Commits

Author SHA1 Message Date
Emily
5af01c33cd fnc: set minimum version for Darwin 2024-11-07 00:39:35 +00:00
Emily
6bcccb6a8d fnc: drop darwin.libutil dependency 2024-11-07 00:39:35 +00:00
Olivér Falvai
1dfbe1cd0e
fnc: fix darwin build 2024-11-02 14:27:04 +01:00
Peder Bergebakken Sundt
fab601bdc0
fnc: 0.16 -> 0.18 (#344400) 2024-10-01 02:13:21 +02:00
Ashish SHUKLA
b14d6d0e1c
fnc: 0.16 -> 0.18
Changes: https://fnc.bsdbox.org/doc/trunk/CHANGES.md
2024-09-25 09:32:33 +00: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
Sigmanificient
0058552891 pkgs/applications: remove uneeded fetchpatch arguments 2024-05-21 03:12:20 +02:00
Weijia Wang
51007d534f fnc: fix build on x86_64-darwin 2023-12-09 20:50:42 +01:00
Ashish SHUKLA
252e4bdb83 fnc: 0.15 -> 0.16
- switch to finalAttrs
2023-12-09 20:39:08 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
41f6ad24fa fnc: 0.13 -> 0.15 2023-04-29 14:12:57 +00:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Stanisław Pitucha
bc485d9e26 fnc: fix clang build
Use the gcc-specific option on gcc only.
2023-02-17 22:30:42 +11:00
Fabián Heredia Montiel
0cf5d85f0c treewide: add gcc12 flags 2023-01-27 21:20:52 -06:00
Ashish SHUKLA
ad3f733fc0
fnc: 0.12 -> 0.13 2022-11-26 20:20:36 +05:30
Ashish SHUKLA
6afb6d4032
fnc: 0.10 -> 0.12
Install checks are removed, courtesy: https://fnc.bsdbox.org/info/9b191697d6
2022-05-10 16:27:40 +05:30
Ashish SHUKLA
509a6f1eba
fnc: unbreak build
Import a patch from upstream to be present in the next release
2022-05-03 06:23:35 +05:30
wahjava
353d271351
fnc: init at 0.10 (#165667)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-27 20:13:27 +02:00