Commit Graph

29 Commits

Author SHA1 Message Date
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +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
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Silvan Mosberger
4f6f0491a4
Merge pull request #76854 from earksiinni/ersin/prl-tools-no-assert-version
linuxPackages.prl-tools: remove version assertion
2020-01-03 18:59:05 +01:00
Ersin Akinci
8ed2577f18
linuxPackages.prl-tools: remove version assertion 2020-01-02 13:53:38 -08:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02: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
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Luke Adams
552105d502 prl-tools: assert linux kernel version < 4.15 2018-03-03 10:36:17 -06:00
Jörg Thalheim
45fa79d43b prl-tools: use kernel.moduleBuildDependencies instead of libelf 2018-03-02 09:18:57 +00:00
Luke Adams
ae7fae71ed prl-tools: add libelf input
fixes build on 18.03
2018-03-01 16:55:38 -06:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Vladimír Čunát
3a110ea3f9
treewide platform checks: abort -> throw
They aren't meant to be critical (uncatchable) errors.
Tested with nix-env + checkMeta:
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
2017-12-12 18:08:10 -05:00
Luke Adams
6ead149ff9 prl-tools: remove user services using .desktop files 2017-11-11 17:05:08 -06:00
Luke Adams
029b44db9d prl-tools: hardeningDisable: +"format" 2017-11-11 17:05:08 -06:00
Luke Adams
019cbdaa6a prl-tools: unpackPhase: extract prl-tools-lin.iso from dmg; add undmg, fetchurl inputs; update sourceRoot 2017-11-11 17:05:08 -06:00
Luke Adams
0b845abd22 prl-tools: 10.0.2.27712 -> 12.2.1-41615; src: download parallels dmg 2017-11-11 17:05:07 -06:00
Luke Adams
e58b67ab2b prl-tools: Update platforms and url 2017-11-11 17:05:07 -06:00
Luke Adams
1aef116e41 prl-tools: ignore patchelf errors 2017-11-11 17:05:07 -06:00
Franz Pletz
62e6bc0bd9 linuxPackages.prl-tools: disable pic hardening 2016-08-13 16:40:42 +02:00
Tobias Geerinckx-Rice
193319ce03 "Parallel Tools" -> Parallels Tools 2015-09-15 08:51:02 +02:00
Eric Seidel
f3c6827373 rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc 2015-01-14 20:27:55 -08:00
Shea Levy
05edd656f6 Missed gcc refs 2014-12-26 12:28:15 -05:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Nikolay Amiantov
3c8fe179f6 prl-tools: add package 2014-11-12 01:26:23 +03:00