Commit Graph

227 Commits

Author SHA1 Message Date
Someone Serge
927b15ed6d nixos/nix-required-mounts: allow passing extra arguments to the hook 2024-06-26 00:35:44 +00:00
Someone Serge
6a6b6ac359 nix-required-mounts: print -> logging 2024-06-26 00:35:44 +00:00
Someone Serge
61001a31c3 nix-required-mounts: enforce that host paths exist 2024-06-26 00:35:44 +00:00
Someone Serge
dd70727622 nixos/nix-required-mounts: mount the runtime closures 2024-06-26 00:35:44 +00:00
Someone Serge
075dd8b536 nix-required-mounts: allow overriding the rendered config 2024-06-26 00:35:44 +00:00
Someone Serge
55f54cc2c3 nix-required-mounts: restore (optional) symlink support 2024-06-26 00:35:44 +00:00
Someone Serge
3cf5bcfe49 nix-required-mounts: restore the followSymlinks option
This way pkgs.nix-required-mounts is "correct" even before
we override it in the NixOS module
2024-06-26 00:35:44 +00:00
Someone Serge
5560f6a514 nix-required-mounts: guest and host paths may differ 2024-06-26 00:35:43 +00:00
Someone Serge
7418e4fefd programs.nix-required-mounts: presets.cuda -> nvidia-gpu
This hopefully clarifies that the preset configures the hook to expose
"nvidia devices", which includse both the userspace driver and the
device nodes.

The derivations  still declare requiredSystemFeatures = [ "cuda" ] to
explicitly indicate they need to use the CUDA functionality and expect a
libcuda.so and a CUDA-capable device. Ideally, we'd also include the
specific CUDA architectures (sm_86, etc) in feature names.

Derivations that use a co-processor but do not care about the vendor or
even the particular interface may ask for the more generic "opengl",
"vulkan", or "gpu" features. It is then responsibility of the host
declaring the support for this feature to ensure the drivers and
hardware are appropriately set up.
2024-06-26 00:35:43 +00:00
Someone Serge
6a0f2aedc1 nix-required-mounts: fix: add missing metadata 2024-06-26 00:35:43 +00:00
Someone Serge
3a0d777486 nix-required-mounts: link the issue about unavailable .drvs 2024-06-26 00:35:43 +00:00
Someone Serge
3d84ab0b09 nix-required-mounts: expose the VM test in passthru 2024-06-26 00:35:43 +00:00
Someone Serge
50d4382114 programs.nix-required-mounts: inherit defaults from the package 2024-06-26 00:35:43 +00:00
Someone Serge
6662b09941 nix-required-mounts: handle __structuredAttrs 2024-06-26 00:35:43 +00:00
Someone Serge
6859a2dabc nix-required-mounts: use wrappers instead of statically embedding config into the script 2024-06-26 00:35:42 +00:00
Someone Serge
b422dafc89 nix-required-mounts: init 2024-06-26 00:35:42 +00:00
Justin Restivo
5377ecc7a7 nix-btm: init at 0.2.0 2024-06-25 20:07:39 -04:00
embr
4a6a82fbad nix-web: Depend on SystemConfiguration.framework on Darwin 2024-06-21 22:11:15 +02:00
embr
60371b06b8 nix-web: 0.3.0 -> 0.4.2 2024-06-21 18:27:07 +02:00
R. Ryantm
10318b71e8 nickel: 1.6.0 -> 1.7.0 2024-06-16 20:13:46 +00:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
github-actions[bot]
4f7f1065a7
Merge master into staging-next 2024-06-09 00:03:04 +00:00
Weijia Wang
63874868ce
Merge pull request #317108 from xTrayambak/nimlsp-use-nim2
nimlsp: compile against Nim 2.0.x instead of Nim 1.6.x
2024-06-08 23:24:14 +02:00
github-actions[bot]
44ae720e20
Merge master into staging-next 2024-06-08 06:01:03 +00:00
Jörg Thalheim
d88d0acd2b nixos-anywhere: 1.2.0 -> 1.3.0
Diff: https://github.com/numtide/nixos-anywhere/compare/1.2.0...1.3.0
2024-06-07 16:16:59 +02:00
xTrayambak
9b96207fa8 nimlsp: compile against Nim 2.x instead of Nim 1.6.x 2024-06-06 11:42:35 +05:30
github-actions[bot]
2304c5cc50
Merge master into staging-next 2024-06-06 06:01:16 +00:00
Daniel Baker
2c2f1d042f Fix the update script so it points at the new nixos/nixfmt repo and bump to the lasest version on master. 2024-06-05 13:24:14 -07:00
github-actions[bot]
ddde12c6f7
Merge master into staging-next 2024-06-03 18:02:09 +00:00
Jörg Thalheim
5417906fa0 nix-direnv: 3.0.4 -> 3.0.5 2024-06-03 14:13:04 +02:00
Vladimír Čunát
5804775d03
Merge branch 'staging' into staging-next 2024-05-31 07:30:41 +02:00
Emery Hemingway
e0606cc0e6 nim_lk: 20240510 -> 20240527 2024-05-29 21:10:09 +00:00
github-actions[bot]
056d33dbc1
Merge staging-next into staging 2024-05-28 06:01:23 +00:00
Emery Hemingway
e34fb3467b nimble: 0.14.2 -> 0-unstable-2024-05-14 2024-05-28 04:18:54 +00:00
github-actions[bot]
12993f1c4a
Merge staging-next into staging 2024-05-27 18:01:17 +00:00
Norbert Melzer
079824d5ca nix-janitor: 0.2.0 -> 0.3.1 2024-05-26 15:19:52 +02:00
Vladimír Čunát
9d9c87e699
Merge #303416: ninja: 1.11.1 -> 1.12.1
...into staging
2024-05-25 09:11:48 +02:00
Norbert Melzer
04861e85de
nix-janitor: init at 0.2.0 (#313130) 2024-05-22 22:21:04 +00:00
sodiboo
953fa53c2a niri: 0.1.5 -> 0.1.6 2024-05-18 23:35:55 +02:00
R. Ryantm
95c22c71b0 nicotine-plus: 3.3.2 -> 3.3.4 2024-05-13 06:53:01 +00:00
John Titor
c0bb6f9c81
ninja: 1.12.0 -> 1.12.1
add nix-update-script
move to finalAttrs
2024-05-13 11:38:51 +05:30
John Titor
4852dc6479
ninja: 1.11.1 -> 1.12.0
Remove patch for files in large fs, since it is merged to v1.12.0
2024-05-13 11:33:07 +05:30
John Titor
493d74ef4a
ninja: migrate to pkgs/by-name 2024-05-13 11:33:07 +05:30
Emery Hemingway
26ea5b58aa nim_lk: 20240210 -> 20240510
Bugfix update.
2024-05-10 12:09:47 +02:00
a-kenji
bc4962edf2 nixos-anywhere: add missing get-facts script to output 2024-05-07 10:02:33 +02:00
OPNA2608
0a0c18e1b6 nix-search-cli: unstable-2023-09-12 -> 0-unstable-2023-09-12 2024-05-04 19:44:26 +02:00
OPNA2608
9e9b8af617 nitter: unstable-2024-02-26 -> 0-unstable-2024-02-26 2024-05-04 19:44:26 +02:00
Weijia Wang
ef887eacf4
Merge pull request #308108 from r-ryantm/auto-update/nickel
nickel: 1.5.0 -> 1.6.0
2024-05-01 10:38:04 +02:00
Peder Bergebakken Sundt
e664e09707
Merge pull request #291564 from MatthewCroughan/mc/nibtools
nibtools: init at unstable-2024-02-22
2024-05-01 04:36:13 +02:00
Peder Bergebakken Sundt
d802495342
Merge pull request #305261 from bluskript/work/blusk/nix-inspect-0.1.2
nix-inspect: 0.1.1 -> 0.1.2
2024-05-01 04:00:37 +02:00
R. Ryantm
e49a69ce16 nickel: 1.5.0 -> 1.6.0 2024-04-30 21:50:54 +00:00
matthewcroughan
6368a5e1af nibtools: init at unstable-2024-02-22
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com>
2024-04-30 22:50:20 +01:00
Jörg Thalheim
058a3f866e nixos-anywhere: 1.1.2 -> 1.2.0
Diff: https://github.com/numtide/nixos-anywhere/compare/1.1.2...1.2.0
2024-04-30 08:56:37 +02:00
Maximilian Bosch
aa0d11f9d4
Merge pull request #307044 from liclac/nix-web-v0.3.0
nix-web: 0.2.0 -> 0.3.0
2024-04-26 21:42:41 +00:00
embr
78442dd34b nix-web: 0.2.0 -> 0.3.0
This is a hotfix to be compatible with Nix 2.18, as 2.17 is due to be removed:
https://github.com/NixOS/nixpkgs/pull/306575

We're pinning 2.18 rather than 2.22 as it's what current stable NixOS uses.

This introduced the very funny problem that my unit tests, for perhaps
understandable reasons, have store paths in them. It turns out this makes
the fetcher very unhappy.

I'll fix this by the next release - for now, have some `nuke-refs` bodgery.
2024-04-26 21:44:52 +02:00
Marcus Ramberg
8b4a7f28ba nimdow: 0.7.37 -> 0.7.38 2024-04-26 06:34:06 +00:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
sodiboo
f22481048d niri: 0.1.4 -> 0.1.5 2024-04-20 19:42:39 +02:00
Blusk
d086dea772
nix-inspect: 0.1.1 -> 0.1.2 2024-04-19 01:12:12 -07:00
Weijia Wang
b04468d169
Merge pull request #304671 from NickCao/niri
niri: drop redundant LIBCLANG_PATH
2024-04-17 09:38:02 +02:00
Matthias Beyer
2b495a7d42
Merge pull request #304709 from bluskript/work/blusk/nix-inspect-0.1.1
nix-inspect: 0.1.0 -> 0.1.1
2024-04-17 08:18:54 +02:00
Blusk
c653c1bbc0
nix-inspect: Fix package description 2024-04-16 20:48:11 -07:00
Blusk
ced480670a
nix-inspect: 0.1.0 -> 0.1.1 2024-04-16 20:48:05 -07:00
Nick Cao
2890d63ce3
niri: drop redundant LIBCLANG_PATH 2024-04-16 20:27:21 -04:00
Pol Dellaiera
978b2a29b8
Merge pull request #303283 from shivaraj-bh/update-nix-health
nix-health: 0.2.3 -> 0.3.0
2024-04-13 18:27:07 +02:00
Blusk
d00e7644c3
nix-inspect: init at 0.1.0 2024-04-11 23:14:00 -07:00
shivaraj-bh
a3c17b5d6b nix-health: 0.2.3 -> 0.3.0
* add shivaraj-bh as maintainer
2024-04-11 09:13:08 +05:30
Aaron Jheng
859826ce1d
nilaway: unstable-2023-11-17 -> 0-unstable-2024-04-04 2024-04-06 10:41:14 +08:00
Emery Hemingway
33d05c1c55 nim_lk: 20231031 -> 20240210 2024-04-02 08:59:07 +00:00
sodiboo
8a08f8dd59 niri: 0.1.3 -> 0.1.4 2024-03-30 23:36:02 +01:00
Olivia Crain
de6412cadd
nixseparatedebuginfod: use system jemalloc
Currently, this package uses a vendored version of jemalloc by way of
the `jemalloc-sys` crate. The vendored version is not compatible with
non-4k page sizes on aarch64, but nixpkgs' version of jemalloc is
configured for such compatibility. To use nixpkgs' version of jemalloc,
we need to pull in the `rust-jemalloc-sys` dependency when building
nixseparatedebuginfod.
2024-03-29 10:29:38 -05:00
Jörg Thalheim
ea503179c5
Merge pull request #298607 from Mic92/nix-ld-rs
nix-ld-rs: init at 2024-03-23
2024-03-25 14:52:21 +01:00
Guillaume Girol
ef6193e055
Merge pull request #294050 from symphorien/update-nixseparatedebuginfod-0.3.4
nixseparatedebuginfod: 0.3.3 -> 0.3.4
2024-03-24 15:45:47 +01:00
Jörg Thalheim
04ec4568c6 nix-ld-rs: init at 2024-03-23 2024-03-24 12:27:20 +01:00
Jörg Thalheim
e29150b7fe nix-ld: use dynamicLinker as provided by stdenv 2024-03-24 12:27:18 +01:00
Jörg Thalheim
a78abbad4a nix-ld: move to pkgs/by-name 2024-03-24 12:27:09 +01:00
Christian Kögler
53c8f2940d
Merge pull request #289682 from elpdt852/feature/add-nix-snapshotter
nix-snapshotter: init at 0.2.0
2024-03-22 23:38:30 +01:00
Stig
468417b7f3
Merge pull request #296479 from marcusramberg/marcus/nimdow
nixos/nimdow: module updates
2024-03-21 12:14:56 +01:00
Marcus Ramberg
501879e971 nimdow: Add passthru for nimdow module test 2024-03-20 13:39:45 +01:00
Marcus Ramberg
2d25ea2b6a nimdow: Restrict nimdow to linux-platforms 2024-03-20 13:39:11 +01:00
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
github-actions[bot]
100b3bb178
Merge master into staging-next 2024-03-17 18:00:54 +00:00
Weijia Wang
948fd5cfdc
Merge pull request #296062 from aaronjheng/nixops-dns
nixops-dns: 1.0 -> 1.0.1
2024-03-17 16:03:06 +01:00
Jörg Thalheim
a89e9c8841 nixos-anywhere: 1.1.1 -> 1.1.2
Diff: https://github.com/numtide/nixos-anywhere/compare/1.1.1...1.1.2
2024-03-17 10:17:08 +01:00
Aaron Jheng
5affe35ae1
nixops-dns: use buildGoModule 2024-03-16 11:37:02 +08:00
github-actions[bot]
87a5d42cfa
Merge master into staging-next 2024-03-14 12:01:18 +00:00
R. Ryantm
d39877919e nickel: 1.4.1 -> 1.5.0 2024-03-13 23:08:33 +00:00
github-actions[bot]
6b78f024b2
Merge staging-next into staging 2024-03-12 18:01:46 +00:00
Weijia Wang
13da11d8f8
Merge pull request #294593 from wegank/nicotine-plus-gtk4
nicotine-plus: migrate to gtk4
2024-03-12 18:49:39 +01:00
github-actions[bot]
06e5eb63d3
Merge staging-next into staging 2024-03-11 18:01:53 +00:00
Nick Cao
14e5455ad4
Merge pull request #294833 from sodiboo/patch-niri
niri: fix regression introduced in 0.1.3
2024-03-11 10:48:04 -04:00
Janne Heß
fc405ec2d8
Merge pull request #294342 from 0x4A6F/master-nixfmt-rfc-style
nixfmt-rfc-style: apply serokell/nixfmt#133
2024-03-11 14:23:26 +01:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
sodiboo
7b78f6a375 niri: cherry-pick patch
a regression was introduced in the release of v0.1.3 and it is advised that packagers include this patch
2024-03-10 22:04:10 +01:00
sodiboo
5e2f90e7a0 niri: add sodiboo as maintainer 2024-03-10 22:02:52 +01:00
Weijia Wang
9e119fe382 nicotine-plus: move to pkgs/by-name 2024-03-10 00:05:08 +01:00