Commit Graph

3173 Commits

Author SHA1 Message Date
John Ericson
d85399b969 openbsd: Add static linking support
I've had better luck creating statically-linked binaries that work than
dynamically-linked ones, so this is needed quite practically.

(cherry picked from commit 676df1cf2d)
2024-07-10 09:48:00 -04:00
Artturin
a97571b6d8 doc: Improve the makeSetupHook example
also format it with nixfmt

(cherry picked from commit 2be37441da)
2024-06-23 20:15:48 +00:00
sternenseemann
4a5d7ffb6e Merge branch release-24.05 into staging-next-24.05 2024-06-16 18:48:08 +02:00
Robert Hensing
83934fced1 doc/haskell: Dedup and edit justStaticExecutables
Make sure all relevant info is in the user manual and avoid duplication
of efforts, or things going out of sync.

(cherry picked from commit ce81cf0ee1)
2024-06-12 22:42:41 +00:00
Robert Hensing
d416be563d haskell.lib.compose.justStaticExecutables: Unforbid references to GHC for backport 2024-06-13 00:19:10 +02:00
Rebecca Turner
d2bd9e54e0 haskell.lib.compose.justStaticExecutables: Forbid references to GHC
This makes `justStaticExecutables` error if the produced store path
contains references to GHC. This is almost always erroneous and due to
the generated `Paths_*` module being imported. This helps prevent
`justStaticExecutables` from producing binaries with closure sizes in
the gigabytes.

See: https://github.com/NixOS/nixpkgs/issues/164630

Co-authored-by: sternenseemann <sternenseemann@systemli.org>

(cherry picked from commit d2618822ab)
(minus release note)
2024-06-13 00:19:10 +02:00
github-actions[bot]
e15c811798
Merge staging-next-24.05 into staging-24.05 2024-06-09 00:17:35 +00:00
Robert Scott
7992a461e4 doc/stdenv: hardening flags: add section on trivialautovarinit
(cherry picked from commit 062f1fa52a)
2024-06-08 12:49:23 +00:00
Robert Scott
c9278a568c doc/stdenv: hardening flags: add section on zerocallusedregs
(cherry picked from commit 39f39b5568)
2024-06-08 12:49:23 +00:00
Robert Scott
083ccd97be doc/stdenv: hardening flags: add section on fortify3
(cherry picked from commit 65cc6d3cf1)
2024-06-08 12:49:23 +00:00
Robert Scott
ad9d37f112 doc/stdenv: hardening flags: add note on conditional support for some flags
(cherry picked from commit a8062e526c)
2024-06-08 12:49:23 +00:00
github-actions[bot]
a6bb5262cd
Merge staging-next-24.05 into staging-24.05 2024-06-07 00:15:52 +00:00
github-actions[bot]
aecb2be6c4
Merge staging-next-24.05 into staging-24.05 2024-06-06 00:15:16 +00:00
aleksana
5ed6d6c45b doc/dart: require to specify flutter version
Context:

@FlafyDev: I think flutter apps in nixpkgs should be required to specify
a flutter version. like flutter319 and flutter322 instead of using
flutter.

https://github.com/NixOS/nixpkgs/pull/313711
(cherry picked from commit 09fa054a4d)
2024-06-05 18:58:31 +00:00
Alyssa Ross
da83537d50 doc: fix make-disk-image.nix example
(cherry picked from commit 1a297df41b)
2024-06-05 08:07:20 +01:00
Ivan Trubach
09f959da41 iwona: fix build failure caused by src being a symlink
(cherry picked from commit 8d5563ec25)
2024-06-04 17:38:45 +00:00
Ivan Trubach
a2f94bf7ab doc: fix testers.testEqualContents fragment link
(cherry picked from commit b25101d1fb)
2024-05-31 10:34:05 +00:00
Robert Hensing
912abfa907 testers.lycheeLinkCheck: Edit documentation and messages
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
(cherry picked from commit 984b45c609)
2024-05-27 05:55:46 +00:00
Robert Hensing
5a51f54ec4 testers.lycheeLinkCheck: Fix plain derivation remap, showcase emptyDirectory
(cherry picked from commit 60536f85a3)
2024-05-27 05:55:46 +00:00
Robert Hensing
20fccd7b6c testers.lycheeLinkCheck: Update docs
A deep dive reveals that the needles in our haystack are actually
regular expressions.

(cherry picked from commit 076c5afd20)
2024-05-27 05:55:46 +00:00
Robert Hensing
25a5fced3c testers.lycheeLinkCheck: Generalize remapUrl convenience feature
(cherry picked from commit f6b7891368)
2024-05-27 05:55:46 +00:00
Robert Hensing
8bfb6afca9 testers.lycheeLinkCheck: Edit documentation
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
(cherry picked from commit 984b11685d)
2024-05-27 05:55:46 +00:00
Robert Hensing
e2a9d4f64d doc/testers: Make lycheeLinkCheck section more accessible
- Explain the use case for audience who's new to the concept
- Be more explicit about what the return value "does"

(cherry picked from commit 444f8bf6eb)
2024-05-27 05:55:46 +00:00
Robert Hensing
8567fac505 testers.lycheeLinkCheck: Add online attribute for nix run
(cherry picked from commit c2ebd3ea60)
2024-05-27 05:55:46 +00:00
Robert Hensing
bf8c7334f8 testers.lycheeLinkCheck: init
(cherry picked from commit 6af49f27ed)
2024-05-27 05:55:46 +00:00
github-actions[bot]
105028cf9e
Merge master into haskell-updates 2024-05-14 00:13:38 +00:00
Silvan Mosberger
1daef0114a Remove mentions of documentation-reviewers team
See also https://github.com/NixOS/nix.dev/pull/978
2024-05-13 20:06:16 +02:00
Alyssa Ross
20ca4f5529 doc: fix meta.badPlatforms example
error: attribute 'isStatic' missing
2024-05-13 10:24:25 +02:00
github-actions[bot]
cb21dbcf55
Merge master into haskell-updates 2024-05-10 00:13:33 +00:00
Armando Ramirez
876d055062 callCabal2nixWithOptions: add srcModifier argument
Fixes #256769

Repro + test of fix here: https://gitlab.com/ramirez7/bug-repros/-/merge_requests/1

Adds a `srcModifier` argument to `callCabal2nixWithOptions` to allow
customizing the source files used to generate the cabal file (e.g. to
support `hpack`/`package.yaml`).
2024-05-09 23:55:37 +02:00
Florian Engel
706b41a4df
doc/go: Update url for module documentation
The old wiki is deprecated
2024-05-09 17:24:44 +02:00
nicoo
a817fdac5f
Merge #307770: add optional version check in testers.hasPkgConfigModules 2024-05-03 20:18:56 +00:00
github-actions[bot]
3588aea450
Merge master into staging-next 2024-05-03 00:02:39 +00:00
Jan Tojnar
499f723873 doc: Use substitute --replace-fail in manuals
This fixes a warning about --replace being deprecated.
2024-05-02 23:19:15 +02:00
github-actions[bot]
31135daf48
Merge master into staging-next 2024-05-02 18:01:05 +00:00
Felix Uhl
4c704748b3
zig: 0.11 -> 0.12 (#306077)
This upgrades the default version of zig to zig_0_12, which builds
reproducibly on darwin.

Fixes #299091.

Also upgrades all packages compatible with zig 0.12 to that version.
I tried to upgrade packages currently pinning 0.11 as well, but only a
few worked.

Co-authored-by: Weijia Wang (wegank) <contact@weijia.wang>
2024-05-02 17:58:52 +00:00
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Bobby Rong
6fdb14cadb
Merge pull request #308019 from bobby285271/upd/homepage
treewide: Move away from wiki.gnome.org (part 1)
2024-05-01 08:46:59 +08:00
nicoo
9245f1b706 doc: Mention testers.hasPkgConfigModules and its versionCheck parameter in the appropriate section 2024-04-30 20:34:08 +00:00
Bobby Rong
25d729926e
treewide: Move away from wiki.gnome.org/Projects
The wiki.gnome.org site is planned for retirement.
2024-05-01 00:27:50 +08:00
Jan Tojnar
1b2ebb8fbb Merge branch 'master' into staging-next 2024-04-28 17:33:27 +02:00
Frederik Rietdijk
5772ac5a75 Removing FRidh as active maintainer of packages
In the past I was very active with Python packaging.
For several years now I was hardly around as maintainer,
so it does not make sense I am listed as a maintainer for
these makes. Looking back, I should have removed myself
as maintainer already much longer ago. Anyway, better late
than never.

It's been a fun ride, and  I do intend to occasionally contribute
to Nixpkgs, but not in the same way it once was.
2024-04-28 12:20:07 +02:00
Weijia Wang
946747effb doc/gnome: fix manual 2024-04-27 05:55:58 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Jan Tojnar
37383113cc wrapGAppsHook3: rename from wrapGAppsHook
GTK 3 is slowly approaching deprecation so let’s not make it default.
2024-04-27 00:05:46 +02:00
Jan Tojnar
4e02eae70e doc/gnome: Use wrapGApps* hook for referring to the hook family 2024-04-27 00:05:46 +02:00
Jan Tojnar
e285f7894c doc/gnome: equalize wrapGAppsHook4 with wrapGAppsHook
In preparation for renaming wrapGAppsHook to wrapGAppsHook3.
2024-04-27 00:05:44 +02:00
Jan Tojnar
b2f2cee158 Revert "doc/gnome: make wrapGAppsHook4 more discoverable"
We will bring the GTK 3 version to a more equal standing compared
to the GTK 4 one in the next commit.

This reverts commit 9f90c73360.
2024-04-27 00:02:36 +02:00
Atemu
2432c6b829
Merge pull request #271071 from pbsds/wrapAppImage-pname-redux
appimageTools.wrapAppImage: remove version from `pname`
2024-04-24 21:48:19 +02:00
Peder Bergebakken Sundt
bbb1f25bfb buildFHSEnvBubblewrap: do not infer pname from name 2024-04-24 15:26:52 +02:00