Commit Graph

20 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
Florian Klink
43f74794de displaylink: manually activate dlm.service
The shell script coming with the vendor-provided udev rule simply
starts dlm.service (and sets up some symlinks), and stops dlm.service if
that was the last card plugged in.

On NixOS, some of the cat/grep/sed commands are not available, causing
the script to fail.

Turns out, the symlinks aren't needed at all. Archlinux ships their own
script
(https://aur.archlinux.org/cgit/aur.git/plain/udev.sh?h=displaylink),
which only starts and stops dlm.service, depending on whether there's
cards left or not.

We can further optimize this by simply starting dlm.service on the first
card, and not stopping it at all. Considering dlm won't get stopped if
one of multiple cards is unplugged, it seems to handle disconnects.
2020-12-21 00:34:31 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
eyjhb
fa1abf0f17
displaylink: added maintainer eyjhb 2020-07-16 10:18:22 +02:00
eyjhb
3604e1e4f0
displaylink: 5.2.14 -> 5.3.1.34 2020-07-11 13:32:56 +02:00
Florian Klink
5cca485396 displaylink: run systemctl of the currently running systemd 2020-05-21 10:35:07 +02:00
Janne Heß
f7f1724ee9 displaylink: Disable free space check
The check fails if you have too much free disk space
2019-11-19 19:51:30 +01:00
Nahum Shalman
079849e096 displaylink: 4.4.24 -> 5.2.14 2019-11-05 20:23:32 -05: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
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
eyJhb
f0f36737e2 displaylink: changed systemd start to not block (#51760)
Previously during boot, displaylink would hang during boot for the 2
minutes timeout.
2018-12-09 11:48:15 +00:00
eyjhbb@gmail.com
24dcf0c4ea displaylink: 4.1.9 -> 4.4.24 - updated link 2018-12-09 12:35:58 +01:00
eyjhbb@gmail.com
139c99ce91 displaylink: 4.1.9 -> 4.4.24 2018-12-09 00:14:58 +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
Nikolay Amiantov
4db787b1b1 displaylink: 1.3.52 -> 4.1.9
Closes #34194.
2018-02-27 03:18:21 +03:00
Sang Hak (Andy) Chun
48291b066d displaylink: use requireFile instead of fetchurl
The direct link used with fetchurl is no longer a direct link (see #28279)
Users will need to accept a EULA and add the source themselves to the store.
2017-08-30 02:56:45 +02: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
Nikolay Amiantov
e17744067a displaylink: 1.1.62 -> 1.3.52 2017-05-19 02:51:45 +03:00
Nikolay Amiantov
fbf6a97b04 linuxPackages.displaylink: init at 1.1.62 2016-09-13 00:30:35 +03:00