aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2022-12-04 21:24:34 +0200
committerMihai Fufezan <[email protected]>2022-12-04 21:24:34 +0200
commit215c7bd3cb46ff11665b3cba1397ef22c282b803 (patch)
treef27b1f7ec2f93fa7d43d5d5829887f26435456d4
parentea2ef63de5add88f61f4ef3f93734116f54ec085 (diff)
downloadHyprland-215c7bd3cb46ff11665b3cba1397ef22c282b803.tar.gz
Hyprland-215c7bd3cb46ff11665b3cba1397ef22c282b803.zip
nix: remove merged hwdata override
-rw-r--r--flake.nix3
-rw-r--r--nix/hwdata.nix28
2 files changed, 1 insertions, 30 deletions
diff --git a/flake.nix b/flake.nix
index c34d37c3..6e44eece 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,7 +26,6 @@
inherit system;
overlays = [
(_: prev: {
- hwdata = prev.callPackage ./nix/hwdata.nix {};
libdrm = prev.libdrm.overrideAttrs (old: rec {
version = "2.4.114";
src = prev.fetchurl {
@@ -75,7 +74,7 @@
default = self.packages.${system}.hyprland;
});
- devShells = genSystems (system: rec {
+ devShells = genSystems (system: {
default = pkgsFor.${system}.mkShell.override {stdenv = pkgsFor.${system}.gcc12Stdenv;} {
name = "hyprland-shell";
nativeBuildInputs = with pkgsFor.${system}; [
diff --git a/nix/hwdata.nix b/nix/hwdata.nix
deleted file mode 100644
index c121ef6f..00000000
--- a/nix/hwdata.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ lib, stdenv, fetchFromGitHub }:
-
-stdenv.mkDerivation rec {
- pname = "hwdata";
- version = "0.363";
-
- src = fetchFromGitHub {
- owner = "vcrhonek";
- repo = "hwdata";
- rev = "v${version}";
- sha256 = "sha256-A6GNrHc/t2SVyAyJWmzQTa+pD9wGESsz7DNruW2kH4s=";
- };
-
- postPatch = ''
- patchShebangs ./configure
- '';
-
- configureFlags = [ "--datadir=${placeholder "out"}/share" ];
-
- doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
-
- meta = {
- homepage = "https://github.com/vcrhonek/hwdata";
- description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
- license = lib.licenses.gpl2Plus;
- platforms = lib.platforms.all;
- };
-}