Commit Graph

3568 Commits

Author SHA1 Message Date
Valentin Gagarin
50ff833cd8 devmode: move to pkgs/by-name
now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.devmode.override {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00
Valentin Gagarin
b94f54b7a0 devmode: make reusable
the `devmode` helper made for the Nixpkgs/NixOS manual was exposed wrapped
in `mkShell`, which made it impossible to reuse.

this change strips that wrapper and reproduces it at the call site.

now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.callPackage "${pkgs.path}/pkgs/tools/nix/web-devmode.nix" {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00
Sefa Eyeoglu
86d9f7ed0d
doc/tauri: stdenv.is* -> stdenv.hostPlatform.is*
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-11 20:23:49 +01:00
Emily
62fa59a639
doc: revise Darwin SDK documentation (#353439) 2024-11-10 09:22:58 +00:00
Tomodachi94
27a103786c
doc/hooks/aws-c-common: init (#351394) 2024-11-09 20:30:59 -08:00
Tomo
176eb0a3d9 doc/hooks/aws-c-common: init
Part of #341479
2024-11-10 02:39:27 +00:00
Randy Eckenrode
b8b4cdc903
doc: revise Darwin SDK documentation
Based on experience with other maintainers trying to update their
packages, the documentation has been updated for clarity. It is also no
longer recommended to propagate an SDK in most circumstances.
2024-11-08 15:14:12 -05:00
Vladimír Čunát
fe6d94b8f9
Revert "haskellPackages: update stackage and hackage" 2024-11-08 18:36:29 +01:00
sternenseemann
df930b804c Merge branch master into haskell-updates 2024-11-07 15:03:08 +01:00
Fabián Heredia Montiel
3f45fa2832
doc: replace references to --replace for the substitute command (#354093) 2024-11-06 19:15:23 -06:00
github-actions[bot]
a759676266
Merge master into haskell-updates 2024-11-07 00:16:21 +00:00
jopejoe1
b0fecbaa2c
docs: rust: Improve wording about adding Cargo.lock to src (#340287) 2024-11-07 00:44:16 +01:00
Daniel Baker
052431ce98 doc: replace references to --replace for the substitute command
The `--replace` argument for `substitute` and `substituteInPlace` was
deprecated in e07a2fab7f. Updating all
references in the nixpkgs manual to use `--replace-fail`.
2024-11-06 14:08:28 -08:00
github-actions[bot]
57af37a3be
Merge master into haskell-updates 2024-11-04 00:17:26 +00:00
Philip Taron
e50c6cab11
treewide: fix links to specifications.freedesktop.org (#350918) 2024-11-03 09:06:56 -08:00
sternenseemann
b5ee541524 doc/haskell: update default GHC version 2024-11-03 12:29:33 +01:00
Tomo
c0d9ad3ec4 doc/languages-frameworks/java: remove reference to oraclejdk
About to be removed, and this doesn't look true anymore.
2024-11-02 21:10:32 +00:00
maralorn
51031f223c
haskellPackages.mkDerivation: Add support for sourceRoot and setSourceRoot arguments (#351226) 2024-11-01 23:29:42 +01:00
Aleksana
3ef9175dad
doc/hooks/xfce4-dev-tools: document hook (#351512) 2024-11-01 11:01:31 +08:00
Tomo
1eeac53329 doc/hooks/xfce4-dev-tools: document hook
Part of #341479

Related: https://github.com/orgs/NixOS/projects/67/views/1?pane=issue&itemId=84912848
2024-10-31 21:48:26 +00:00
github-actions[bot]
4f5d1a2355
Merge master into staging-next 2024-10-31 06:05:03 +00:00
Tomo
4221944fb9
doc/hooks/just: fix link (#350882) 2024-10-30 20:13:55 -07:00
github-actions[bot]
c89d3d9070
Merge master into staging-next 2024-10-31 00:14:46 +00:00
Rafael Fernández López
0af55cfcbe docs: update docker and podman anchor on CUDA section 2024-10-30 13:45:50 +01:00
K900
0c45a8b5c4 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
Samuel Tardieu
1e4395e769 docs: fix typo "derivaton" → "derivation" (×3) 2024-10-28 13:29:09 +01:00
K900
f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Francesco Gazzetta
3000459155 doc: Add Tcl doc 2024-10-26 16:23:15 +00:00
Emily
14392f7a90
doc: update platform documentation for the new Darwin SDK pattern (#350395) 2024-10-26 02:29:26 +01:00
Randy Eckenrode
deabb1ff4d
doc: update platform documentation for the new Darwin SDK pattern 2024-10-25 21:12:34 -04:00
Rebecca Turner
ff9e35236c
haskell.mkDerivation: Support sourceRoot, setSourceRoot
Allow setting `sourceRoot` and `setSourceRoot` in the arguments to
`haskellPackages.mkDerivation`. These arguments are passed directly to
`stdenv.mkDerivation`.

It may be worth reading over `pkgs/stdenv/generic/setup.sh` and checking
if there's other unsupported variables which may be useful. It may also
be worth adding an argument like `extraAttrs` to be passed to
`stdenv.mkDerivation` directly, as an escape hatch.
2024-10-25 09:41:50 -07:00
github-actions[bot]
3f6af763b1
Merge master into staging-next 2024-10-25 06:05:00 +00:00
Matthias Beyer
c04462bf2d
doc: Add missing debian12 attribute names (#339780) 2024-10-25 07:55:17 +02:00
Fabián Heredia Montiel
da7fb8d0ef Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 17:53:05 -06:00
Pyrox
09cec0f560
pnpm.fetchDeps: pnpmWorkspace -> pnpmWorkspaces 2024-10-24 15:37:30 -04:00
Victor Duarte
f2b58efde4 fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
Tomo
5dc0f222b4 doc/hooks/just: fix link
Related:
https://github.com/casey/just/issues/2368
2024-10-24 07:01:14 +00:00
K900
dee94df6f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
Philip Taron
eee954a451
trivial: make symlinkJoin support pname+version alone (#344645) 2024-10-23 14:09:11 -07:00
Fabián Heredia Montiel
fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Austin Horstman
eaadc9e24b
docs/vim.section.md: Add note about nvimRequireCheck (#349864)
We are trying to use this more often but, at the moment, it's a manual
addition to overrides.nix. Add notes about the benefits of adding it and
how it can help identify missing dependencies.
2024-10-22 10:16:11 +02:00
Fabián Heredia Montiel
1b7dd985dc Merge remote-tracking branch 'origin/master' into staging-next 2024-10-21 19:17:30 -06:00
sternenseemann
9ddc3313c8
haskellPackages: update hackage and stackage (#346720) 2024-10-21 22:10:48 +02:00
John Ericson
1e30137109 doc: Improve CMake setup hook docs, following Meson's
See also #342868
2024-10-21 12:22:10 -04:00
github-actions[bot]
e7735afbdc
Merge master into haskell-updates 2024-10-21 00:17:01 +00:00
github-actions[bot]
8164a7aa6d
Merge master into staging-next 2024-10-21 00:14:52 +00:00
Artturin
2db8942790
doc/stdenv/cross-compilation: Add 'Using -static outside a isStatic platform' (#344985) 2024-10-20 22:34:36 +03:00
github-actions[bot]
857254fd4a
Merge master into haskell-updates 2024-10-20 00:18:04 +00:00
Artturin
3f144b1aa0 doc/stdenv/cross-compilation: Add 'Using -static outside a isStatic platform'
This issue often comes up when builds use `-static` in their own build
system

This may not be the correct location for this as it's not strictly a
cross issue, but it's the best one I can think of

Inspired by someone wanting to build a `riscv-busybox-initramfs` and just
adding `pkgsCross.riscv32.stdenv.cc` to `nativeBuildInputs`
2024-10-20 01:00:06 +03:00
K900
2ab7280fa2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-19 15:07:50 +03:00