Commit Graph

3179 Commits

Author SHA1 Message Date
Tomodachi94
e82dc77a6a doc/hooks/desktop-file-utils: document hook
(cherry picked from commit 9baf2743ad)
2024-10-06 14:05:46 +00:00
Pyrox
1376fa54c2 pnpm.fetchDeps: Add workspaces support and support for custom pnpm configuration commands
Solves #316908

(cherry picked from commit 875c9f044f)
2024-08-25 22:36:41 +01:00
Doron Behar
026b770445 doc/javascript: pnpm: mention lack of monorepos/workspaces support
(cherry picked from commit c704c02956)
2024-08-25 22:36:41 +01:00
Sefa Eyeoglu
3f4a4d0672 pnpm.fetchDeps: init
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 74f5ff78bf)
2024-08-25 22:36:41 +01:00
Alyssa Ross
8c301d85e7 doc/using/overrides: manage package option expectations
We haven't been good at managing expectations about this, so let's
tell people what level of support they can expect.  I think the place
people are most likely to see it is the place where they learn about
overriding in the first place, so I've added it here.

Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
(cherry picked from commit 5c30512e09)
2024-08-17 12:23:16 +02:00
Robert Hensing
2b357c3d6e testers.shellcheck: init
Needed for testing upcoming commit.

(cherry picked from commit 3fb14db08a)
2024-07-28 11:31:41 +00:00
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