Created
June 9, 2019 08:17
-
-
Save eyJhb/c6f07098a0d570a852a810e58487e1b1 to your computer and use it in GitHub Desktop.
Nix expressions for xorg.server (displaylink)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
newpkgs = pkgs.extend (self: super: { | |
xorg = super.xorg // { | |
xorgserver = super.xorg.xorgserver.overrideAttrs (old: { | |
name = "xorg-server-1.19.6"; | |
src = super.fetchurl{ | |
url = mirror://xorg/individual/xserver/xorg-server-1.19.6.tar.bz2; | |
sha256 = "15y13ihgkggmly5s07vzvpn35gzx1w0hrkbnlcvcy05h3lpm0cm7"; | |
}; | |
}); | |
}; | |
}); | |
in | |
newpkgs.xorg.xorgserver | |
{ | |
nixpkgs.overlays = [ | |
(self: super: { | |
xorg = super.xorg // { | |
xorgserver = super.xorg.xorgserver.overrideAttrs (old: { | |
name = "xorg-server-1.19.6"; | |
src = super.fetchurl{ | |
url = mirror://xorg/individual/xserver/xorg-server-1.19.6.tar.bz2; | |
sha256 = "15y13ihgkggmly5s07vzvpn35gzx1w0hrkbnlcvcy05h3lpm0cm7"; | |
}; | |
}); | |
}; | |
}) | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment