diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-22 01:53:35 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-22 01:53:35 +0200 |
commit | d68bf98d22de10b141698358f49b22376e6a0f3d (patch) | |
tree | 4a777663473d242132b32ee8ab2283ac15199549 /hel.nix | |
parent | c29e2202e1270c493b1c469e39d528abe7957365 (diff) | |
download | nixos-d68bf98d22de10b141698358f49b22376e6a0f3d.tar nixos-d68bf98d22de10b141698358f49b22376e6a0f3d.tar.gz nixos-d68bf98d22de10b141698358f49b22376e6a0f3d.tar.bz2 nixos-d68bf98d22de10b141698358f49b22376e6a0f3d.tar.xz nixos-d68bf98d22de10b141698358f49b22376e6a0f3d.zip |
samsung patches
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -56,6 +56,17 @@ | |||
56 | modprobe -r wacom | 56 | modprobe -r wacom |
57 | modprobe wacom | 57 | modprobe wacom |
58 | ''; | 58 | ''; |
59 | |||
60 | samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: { | ||
61 | installPhase = '' | ||
62 | ${oldAttrs.installPhase} | ||
63 | my_patchelf \ | ||
64 | --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ | ||
65 | --set-rpath ${cups}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.glibc}/lib \ | ||
66 | - ${arch}/{rastertosamsungspl,rastertosamsungsplc} | ||
67 | install -m755 ${arch}/{rastertosamsungspl,rastertosamsungsplc} $out/lib/cups/filter | ||
68 | ''; | ||
69 | }); | ||
59 | }; | 70 | }; |
60 | 71 | ||
61 | # nixpkgs.config.packageOverrides = pkgs: rec { | 72 | # nixpkgs.config.packageOverrides = pkgs: rec { |