Commit Graph

72 Commits

Author SHA1 Message Date
Hythera
dbfed0fa8c maintainers: remove ftrvxmtrx 2026-07-08 12:48:27 +02:00
quantenzitrone
ace8e154a1 various: rename references from libXt to libxt
this shouldn't create any rebuilds
2026-02-06 00:29:25 +01:00
quantenzitrone
f67b5966bb various: rename references from libXext to libxext
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
aleksana
e94265e7cc plan9port: 2025-01-29 -> 0-unstable-2025-11-10 2025-12-25 22:45:52 +08:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
f09f724ef8 maintainers: drop ehmry
This user is blocked since May 2025, thus can't maintain any packages
anymore.
2025-08-31 16:53:44 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
sternenseemann
ee32255524 plan9port: 2024-10-22 -> 2025-01-29 2025-01-31 16:12:54 +01:00
Matthew Dargan
cdd7d0f45c plan9port: 2023-03-31 -> 2024-10-22 2024-12-12 15:10:47 -06:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Anderson Torres
58fe14bdf9 treewide: remove AndersonTorres from some packages' meta.maintainers 2024-11-21 21:24:15 -03: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
Demian Garcia
e4533da962 plan9port: 2022-09-12 -> 2023-03-31 2023-05-26 07:04:39 +00:00
Weijia Wang
41889978d3 plan9port: unbreak on x86_64-darwin 2022-12-23 17:15:32 +01:00
AndersonTorres
d8e45aef2a plan9port: incorporate darwin into its expression 2022-12-12 09:41:26 -03:00
Yestin L. Harrison
a335198d4d plan9port: 2021-10-19 -> 2022-09-12
the new version stamps out further path-related annoyances, though
it does require explicitly giving PLAN9_TARGET during buildPhase
(everything moves to $out during installPhase anyway, where
./INSTALL works it out unassisted).
2022-12-06 02:35:02 -08:00
Yestin L. Harrison
c9186a15a5 plan9port: use built-in ./INSTALL 2022-08-03 07:43:04 -07:00
Yestin L. Harrison
ab98ee2c92 plan9port: remove spurious patches 2022-07-26 11:57:16 -07:00
Yestin L. Harrison
8b618c0d5a maintainers: add myself 2022-07-26 07:56:24 -07:00
Yestin L. Harrison
b82d121152 plan9port: update darwin inputs 2022-07-26 07:47:06 -07:00
Malo Bourgon
0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
Yestin L. Harrison
0fd4de2ae2 plan9port: add DarwinTools to buildInputs on darwin 2021-11-30 15:59:43 -08:00
Yestin L. Harrison
5afe6d962c plan9port: tighten up broken 2021-11-19 21:22:09 -08:00
AndersonTorres
927e685929 Mark as broken on Darwin 2021-11-17 13:53:25 -03:00
AndersonTorres
17b1055d65 plan9port: quick&dirty breakage fix
The presence of '+' in version string propagates to PATH variable, which breaks
`u` script, because `u` uses p9p's `sed` that treats `+` as a metacharacter.

Because of this, the version string will be reverted.
2021-11-16 20:16:43 -03:00
AndersonTorres
9199162d63 plan9port: 2021-04-22 -> 0.pre+date=2021-10-19 2021-11-03 17:06:38 -03:00
Yestin L. Harrison
07deb55d5d plan9port: unmark as broken on darwin
Builds and runs just fine with an overlay filtering out the broken attr
2021-08-11 12:55:08 -06:00
Emery Hemingway
f524f88402 plan9port: 2020-01-08 -> 2021-04-22
* Relicense as MIT!
* Mark Darwin broken.
2021-06-25 10:12:48 +02:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Emery Hemingway
6148e0ca85 acme: build for aarch64 2020-07-28 16:05:10 +02:00
Jörg Thalheim
5e76bf706b Merge pull request #84920 from eraserhd/plan9port-version-update
plan9port: 2019-02-25 -> 2020-01-08
2020-04-20 12:12:15 +01:00
Jason Felice
ff4419ac4a plan9port: Do not attempt to build on aarch64-linux 2020-04-16 13:08:50 -04:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jason Felice
a83bafb27e plan9port: 2019-02-25 -> 2020-01-08 2020-04-10 11:46:48 -04:00
Jason Felice
7724ef793a plan9port: wrap ALL linker flags 2020-02-20 17:40:30 -05:00
Jason Felice
4d2a8257ed plan9port: fix linker flags for macosx 2020-02-19 20:31:14 -05:00
Daiderd Jordan
1de5065375 plan9port: remove cf-private
No longer needed since #63381.
2019-12-27 18:36:03 +01:00
Jason Felice
1a5c68c7fe plan9port: do not use which in builder.sh
Removing the build time dependency on which broke builder.sh
2019-09-16 22:15:59 -04:00
Anderson Torres
868bf106f1 Merge pull request #66404 from eraserhd/pr/master/plan9port-mac-compiler-fixes
plan9port: use C compiler from Nix
2019-09-10 07:45:51 -03:00
Jason Felice
51faa42af6 plan9port: avoid needing to propagate "which" 2019-09-09 12:31:09 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jason Felice
83c1e8c319 plan9port: use C compiler from Nix
The install script was escaping the Nix environment on Mac OS by using
`xcrun -sdk macos clang` as its C compiler.  Using the Nix compiler
required declaring the necessary frameworks as inputs and patching
build scripts to assume MacOS 10.12 (and not try to detect).

So cached derivations prior to this would probably not work on all
intended target machines.

This *might* also fix installCheck on Darwin on Hydra.

Other minor fixes:

* Disable parallel building due to a race with a missing y.tab.h
* Use NIX_CFLAGS_COMPILE/NIX_LDFLAGS instead of trying to synthesize
  something like them.
* X11 dependencies aren't used on Darwin when the windowing system
  is correctly detected
2019-08-09 16:29:51 -04:00
Jason Felice
26aef37424 plan9port: build everything on Darwin
A commit in 2014 (see #2266) disabled building parts which depended on
X11 on Mac OS.  There's no explanation given in the pull request.  In
any case, many people install plan9port on Darwin specifically to use
the UI components.

Aside from this, the derivation was broken on Mac OS, probably because
people put the `which` and `perl` dependencies inside the !isDarwin
conditional.  Some programs worked, however the static libraries did
not build, so this could not be used as a buildInput to build programs
which need the libraries.  This fixes that.
2019-06-11 16:32:59 -04:00
AndersonTorres
e71445c330 plan9port: 2018-09-20 -> 2019-02-25 2019-03-17 09:46:05 -03:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Brandon Elam Barker
7a86c6760a plan9port: 2016-04-18 -> 2018-09-20 2018-10-07 22:13:24 -04:00