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