2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-29 17:14:33 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
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
Robin Gloster
760e23136a
treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) ()
treewide replacement of

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

to pname
2019-08-15 13:41:18 +01:00
worldofpeace
3f4a353737 treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
Ryan Mulligan
af9d10a91b treewide: fix derivation names 2018-05-28 05:59:57 -07:00
Peter Simons
8836c58dc0 Remove all references to haskell-ng and haskellngPackages from Nixpkgs. 2015-09-15 16:11:58 +02:00
Peter Simons
324719a5a6 Drop obsolete pre-NG Haskell builds. 2015-05-05 21:44:47 +02:00
Pascal Wittmann
f99d5cf2fc Fixed some descriptions 2015-04-28 10:55:20 +02:00
Mateusz Kowalczyk
f7737355d4 haskell-yi: clean-up + meta 2015-04-15 21:36:06 +01:00
Mateusz Kowalczyk
33d52b37f3 haskell-yi: improve wrapper and use haskell-ng
Now pkgs.yi is the package to use and override
2015-04-15 21:31:17 +01:00
Mateusz Kowalczyk
b8c561451f haskell-yi: update to version 0.11.1
cc @peti ; I took the courtesy to cherry-pick your yi-rope update ahead
2014-11-07 02:51:01 +00:00
Mateusz Kowalczyk
19e665126b haskell-yi: update to 0.11.0 2014-10-26 03:45:25 +00:00
Mateusz Kowalczyk
9eaee3fd54 haskell-yi-custom: use NIX_* vars for nicer wrap
According to @bennofs , this should now work regardless of what kind of
mess the user is in.
2014-10-24 14:36:08 +01:00
Mateusz Kowalczyk
bd43ff7b6a haskell-yi-custom: improve wrapper
Apparently it is possible for the config to be compiled correctly but
for ‘hint’ still not know where the packages are: it seems to ignore the
GHC in PATH and does whatever.
2014-10-24 10:04:27 +01:00
Mateusz Kowalczyk
0fac38fd48 haskell-yi: make the wrapper less cumbersome
It still suffers from ‘everything breaks’ if there is any Haskell in
user env: https://github.com/NixOS/nixpkgs/issues/4560
2014-10-17 00:39:31 +01:00
Mateusz Kowalczyk
5badd8445e haskell-yi-custom: broken = true for now 2014-10-15 06:08:18 +01:00
Mateusz Kowalczyk
8842fcfdb1 haskell-yi-custom: convenience wrapper for configs
Now to use Yi along with its config the user passes all the extra
libraries wanted by their config as extraPackages and builds the
expression. This means there is no hassle from the user about having to
manually create a cabal file and wrap over the Yi binary.
2014-10-15 04:31:03 +01:00
Mateusz Kowalczyk
7562afbe19 haskell-yi: use --suffix wrapper
This allows further wrappers to get around the problem of ending up with
GHC_PATH with double ‘::’ in it, breaking the whole thing.
2014-10-15 03:54:46 +01:00
Mateusz Kowalczyk
a921dba56a haskell-yi-contrib: move under libraries instead 2014-10-15 01:00:16 +01:00
Mateusz Kowalczyk
1ccb025729 haskell-yi-contrib: update to 0.10.1 2014-10-15 01:00:16 +01:00
Mateusz Kowalczyk
0d858ba4c0 haskell-yi: update to 0.10.1 2014-10-15 01:00:16 +01:00
Cray Elliott
5ec6492ea0 Mark yi and yi-contrib as broken
They no longer build with lens v4.4.0.1 and up
2014-08-24 20:28:12 +02:00
Mateusz Kowalczyk
83f532fdfd haskell-yi: update to 0.8.2
Allows it to work with glib/gtk/pango 0.13.x
2014-08-11 13:56:12 +02:00
Peter Simons
d2e731e111 Add "please don't edit" comment at the top of every auto-generated Haskell file. 2014-07-14 13:21:41 +02:00
Mateusz Kowalczyk
a91a4e9db2 yi: improve expression
Disable Haddock docs so that it actually builds (bug in GHC 7.6.3), make
pango optional (OSX people often complain), tell the binary where to
find various libraries needed at runtime (currently it could not find
even its own library).
2014-06-07 21:33:46 +02:00
Benno Fünfstück
2fd160f027 haskell: update yi to 0.8.1 2014-04-12 20:33:15 +02:00
Peter Simons
cc8c69890b haskell-yi: update to version 0.7.2 2014-03-22 09:04:46 +01:00
Peter Simons
441dca211e haskell-yi-contrib: update to version 0.7.2 2014-03-22 09:04:46 +01:00
Peter Simons
861061cf65 haskell-yi: update to version 0.7.1 2014-02-28 13:01:00 +01:00
Peter Simons
fbd5795852 haskell-yi-contrib: update to version 0.7.1 2014-02-28 13:01:00 +01:00
Peter Simons
2f51f6908e yi: re-generate expression with cabal2nix 2014-01-11 12:03:41 +01:00
Benno Fünfstück
eddb74a5cf New expressions: yi, yi contrib and dependencies 2014-01-08 19:11:33 +01:00