about summary refs log tree commit diff
path: root/pkgs/build-support/add-driver-runpath/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/add-driver-runpath/default.nix')
-rw-r--r--pkgs/build-support/add-driver-runpath/default.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/build-support/add-driver-runpath/default.nix b/pkgs/build-support/add-driver-runpath/default.nix
deleted file mode 100644
index 08547a4453c5..000000000000
--- a/pkgs/build-support/add-driver-runpath/default.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ lib, stdenv }:
-
-stdenv.mkDerivation {
-  name = "add-driver-runpath";
-
-  # Named "opengl-driver" for legacy reasons, but it is the path to
-  # hardware drivers installed by NixOS
-  driverLink = "/run/opengl-driver" + lib.optionalString stdenv.isi686 "-32";
-
-  buildCommand = ''
-    mkdir -p $out/nix-support
-    substituteAll ${./setup-hook.sh} $out/nix-support/setup-hook
-  '';
-}