2024-11-28 04:31:09 -07:00
|
|
|
{ fetchFromGitHub, linuxManualConfig, runCommand, linux-firmware, gcc8Stdenv, ... }:
|
2024-11-30 06:57:21 -07:00
|
|
|
(linuxManualConfig rec {
|
2024-11-28 04:31:09 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Nomkid";
|
|
|
|
repo = "ps4-linux-nixos";
|
|
|
|
rev = "refs/heads/aeolia";
|
|
|
|
hash = "sha256-Gdf6pBWD885ZXUuswSQQZQgpNp1t5dn6rHs0p2DqKcw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
version = "5.3.18-PS4";
|
|
|
|
modDirVersion = "5.3.18";
|
|
|
|
|
|
|
|
configfile = runCommand "concat-config" {} ''
|
|
|
|
cat "${src}/config" > $out
|
|
|
|
echo "CONFIG_EXTRA_FIRMWARE_DIR=\"${linux-firmware}/lib/firmware\"" >> $out
|
|
|
|
'';
|
|
|
|
allowImportFromDerivation = true;
|
2024-11-30 06:57:21 -07:00
|
|
|
# }).override {
|
|
|
|
# stdenv = gcc8Stdenv;
|
2024-11-28 04:31:09 -07:00
|
|
|
}).overrideAttrs {
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-redundant-decls -Wno-use-after-free";
|
|
|
|
}
|