nix: remove merged hwdata override

This commit is contained in:
Mihai Fufezan 2022-12-04 21:24:34 +02:00
parent ea2ef63de5
commit 215c7bd3cb
No known key found for this signature in database
GPG Key ID: 5899325F2F120900
2 changed files with 1 additions and 30 deletions

View File

@ -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}; [

View File

@ -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;
};
}