Compare commits
2 commits
0c73938d50
...
5a9dbf660b
Author | SHA1 | Date | |
---|---|---|---|
Natsu Kagami | 5a9dbf660b | ||
Natsu Kagami | 9c616cd6c1 |
12
flake.lock
12
flake.lock
|
@ -367,11 +367,11 @@
|
|||
"rust-overlay": "rust-overlay_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1686889638,
|
||||
"narHash": "sha256-fmMniETOJoDolXiGJP8NnwZ/rCNftFYjech7E1Yonsw=",
|
||||
"lastModified": 1687745434,
|
||||
"narHash": "sha256-k0Xr/Ur4mMwS4fbG0NVkD6ILyKULCbL4AxerNKZc4PQ=",
|
||||
"owner": "tpwrules",
|
||||
"repo": "nixos-apple-silicon",
|
||||
"rev": "002d7e27b1de5885b14c2b2ed3be13c9ad862d23",
|
||||
"rev": "fd3d8bf86897666317b89a0846e4817442761221",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -446,11 +446,11 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1686921029,
|
||||
"narHash": "sha256-J1bX9plPCFhTSh6E3TWn9XSxggBh/zDD4xigyaIQBy8=",
|
||||
"lastModified": 1687555006,
|
||||
"narHash": "sha256-GD2Kqb/DXQBRJcHqkM2qFZqbVenyO7Co/80JHRMg2U0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c7ff1b9b95620ce8728c0d7bd501c458e6da9e04",
|
||||
"rev": "33223d479ffde3d05ac16c6dff04ae43cc27e577",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
discord = pkgs.armcord.overrideAttrs (attrs: {
|
||||
discord =
|
||||
(pkgs.armcord.override { nss = pkgs.nss_latest; }).overrideAttrs (attrs: {
|
||||
postInstall = ''
|
||||
# Wrap the startup command
|
||||
makeWrapper $out/opt/ArmCord/armcord $out/bin/armcord \
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
--prefix XDG_DATA_DIRS : "${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}/" \
|
||||
--add-flags "--ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WebRTCPipeWireCapturer" \
|
||||
--add-flags "--ozone-platform=x11 --enable-features=UseOzonePlatform --enable-features=WebRTCPipeWireCapturer" \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath attrs.buildInputs}" \
|
||||
--suffix PATH : ${lib.makeBinPath [ pkgs.xdg-utils ]}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue