summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index fe09ab3b..6cdac8e1 100644
--- a/hel.nix
+++ b/hel.nix
@@ -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 {