Closed 6AA4FD closed 3 years ago
Testing now:
❯ sudo nixos-rebuild switch --flake /home/djanatyn/git/djanatyn/flake#desktop --impure
...
* Updated 'ssbm-nix': 'github:djanatyn/ssbm-nix/29fbe28da7ddcc546eb6cf6e8b726fc6592dd153' -> 'github:djanatyn/ssbm-nix/48eede91d51725be567d8ec7d1e2c17b6593c8c4'
[1/17/29 built, 52 copied (103.8/104.0 MiB), 17.0 MiB DL] building slippi-ishiiruka-2.2.5-gitpatch-netplay (buildPhase): /build/source/Source/Core/VideoBackends/OGL/VertexManager.cpp:34: note: code may be misoptimized unless '-fno-strict-a
Tested 48eede91d51725be567d8ec7d1e2c17b6593c8c4
, looks to be working:
❯ nix flake metadata
Resolved URL: git+file:///home/djanatyn/git/djanatyn/flake
Locked URL: git+file:///home/djanatyn/git/djanatyn/flake
Description: nix configuration for djanatyn
Path: /nix/store/291jxdabkd32n408gcgiis6qjhqmwfln-source
Last modified: 2021-03-27 06:50:31
Inputs:
├───nix-ld: github:Mic92/nix-ld/a1da7bc40e883617f0674d4dec5a9d1cbc043fb2
│ ├───nixpkgs follows input 'nixpkgs'
│ └───utils: github:numtide/flake-utils/3982c9903e93927c2164caa727cd3f6a0e6d14cc
├───nixpkgs: github:djanatyn/nixpkgs/9b4126aa10d3ab435ad8c264c397ff925a68cf44
└───ssbm-nix: github:djanatyn/ssbm-nix/48eede91d51725be567d8ec7d1e2c17b6593c8c4
├───nix: github:NixOS/nix/8a2ce0f455da32bc20978e68c0aad9efb4560abc
│ ├───lowdown-src: github:kristapsdz/lowdown/1705b4a26fbf065d9574dce47a94e8c7c79e052f
│ └───nixpkgs: github:NixOS/nixpkgs/ad0d20345219790533ebe06571f82ed6b034db31
├───nixpkgs: github:NixOS/nixpkgs/fe08be60cb84148a3dba29cfdb090fa185cacdaa
└───slippi-desktop: github:project-slippi/slippi-desktop-app/3ca39ba6bbd02157515b12a79aa01e5d669ad1b1
❯ fd gcadapter /run/current-system/kernel-modules
/run/current-system/kernel-modules/lib/modules/5.11.8/extra/gcadapter_oc.ko
❯ nix why-depends /run/current-system /run/current-system/kernel-modules/lib/modules/5.11.8/extra/gcadapter_oc.ko
/nix/store/g7j4zilmn85vvl1wcwx2k5izmsk9lw92-nixos-system-voidheart-21.05.20210325.9b4126a
└───kernel-modules -> /nix/store/grq3mxhpxd0c1wvjbykaz03cyc97izax-kernel-modules
→ /nix/store/grq3mxhpxd0c1wvjbykaz03cyc97izax-kernel-modules
└───lib/modules/5.11.8/extra/gcadapter_oc.ko -> /nix/store/3r3ffkyzsm13imm085xsxwm62k4dwwl8-gcadapter-oc-kmod-1.4/lib/modules/5.11.8/extra/gcadapter_oc.ko
→ /nix/store/3r3ffkyzsm13imm085xsxwm62k4dwwl8-gcadapter-oc-kmod-1.4
❯ sudo modprobe gcadapter_oc && (lsmod | grep gcadapter_oc)
gcadapter_oc 16384 0
usbcore 278528 15 xhci_hcd,gvusb2_video,snd_usb_audio,usbhid,snd_usbmidi_lib,xpad,cdc_acm,apple_mfi_fastcharge,usb_storage,uvcvideo,btusb,xhci_pci,uas,gvusb2_sound,gcadapter_oc
@djanatyn want to test before i push?