Commit Graph

42 Commits

Author SHA1 Message Date
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
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Ram Kromberg
c40578ccbb plan9port 2015-11-10 -> 2016-04-18 (#18228) 2016-09-04 14:52:34 +02:00
Ram Kromberg
e852a8e8b6 plan9port: 2015-06-29 -> 2015-11-10 2016-08-31 08:58:45 +03:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Vladimír Čunát
f8c211fd2b fontconfig: split into multiple outputs
Fixed all 'fontconfig}' references as well, hopefully, ugh!
2015-10-05 12:23:56 +02:00
Vladimír Čunát
32b31398eb xorg.libXt: re-split into multiple outputs
Fixed all 'libXt}' references, too.
2015-10-05 11:23:34 +02:00
Kovacsics Robert (NixOS-SSD2)
d6e1ee5651 plan9port: fix interpreter paths, add perl
Fixing interpreter paths was done by exporting PLAN9_TARGET, which
INSTALL looks at. Giving $PLAN9 to INSTALL does not achieve this, as
INSTALL only looks at its first argument so I removed the other
arguments to avoid confusion.

Perl is an optional dependency for a script that adds URLs to man pages,
I have added it to get fewer errors during install.
2015-09-10 13:50:51 +01:00
Kovacsics Robert (NixOS-SSD2)
195671aa70 plan9port: 20140306 -> 2015-06-29
We were already using snapshots, but development moved to github.
Also add "9" to $out/bin as it is the recommended practice, see
install.txt
2015-08-24 21:55:48 +01:00
Emery Hemingway
3e5a0dcf55 plan9port: fix acme font loading 2015-01-14 11:59:34 -05:00
Siarhei Zirukin
2c8ff5fdb7 plan9port: fix destination path in sources; add myself as a maintainer 2014-12-17 23:37:18 +01:00
Siarhei Zirukin
60f2081019 plan9port: make it actually work
* Add "which" dependency, otherwise it builds with lots of
  "command not found" errors.

* -lgcc_s, otherwise many commands basically fail without pthread_cancel.

* Fix X11 dependencies, otherwise it would be plan9port with none of UI
  programs working.
2014-12-06 16:18:30 +01:00
Vladimír Čunát
e5a701eaa2 plan9port: fix eval (license typo) 2014-08-15 02:06:45 +02:00
Vladimír Čunát
a149b1f31f plan9port: enableParallelBuilding, improve meta 2014-08-15 00:11:28 +02:00
Victor van Poppelen
f4c851f854 plan9port: builder.sh called install script twice, meaning a redundant recompile. 2014-07-31 14:00:28 -04:00
Victor van Poppelen
d2efe7785e plan9port:
- Update to 20140306
	- Fixed libXt dependency.  The compiler could not find X11/IntrinsicP.h, even though it is available through the nix store.  I think there must be some issue with the 9c compiler being used and not obeying the CFLAGS that nix is supposed to pass.  There are probably other dependencies I'm missing, but 9c found in my /usr/include.
2014-07-31 00:38:00 -04:00
Ramakrishnan Muthukrishnan
420263ba50 plan9port: Do not fetch X11 build dependencies if building on darwin. 2014-04-15 18:37:18 +05:30
Ramakrishnan Muthukrishnan
38e81b5640 plan9port: modify the builder to use the INSTALL script.
plan9port ships with an INSTALL script. This commit modifies the
builder to use the script instead of a custom build script. The
commit also adds a patch to build fontsrv, which is otherwise
omitted from the build.
2014-04-15 18:37:18 +05:30
Peter Simons
d14df722a7 plan9port: update from 20110103 to 20140228 2014-03-03 11:10:25 +01:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Michael Raskin
e7cb1ea803 Update plan9port to make it build
svn path=/nixpkgs/trunk/; revision=25496
2011-01-10 19:41:58 +00:00
Lluís Batlle i Rossell
67b73b3cbb Fixing the url for plan9port (Dankon Ludo!)
svn path=/nixpkgs/trunk/; revision=14679
2009-03-24 09:21:21 +00:00
Lluís Batlle i Rossell
1167cdd1ba Adding plan9port with X11 support.
For acme to work, set the PLAN9 variable, and have the plan9port programs in the PATH.

svn path=/nixpkgs/trunk/; revision=14669
2009-03-23 21:31:30 +00:00