deck: LD_PRELOAD unset wrapper thing
This commit is contained in:
parent
d2ffb11557
commit
0afd550a25
@ -7,6 +7,18 @@
|
|||||||
|
|
||||||
konsole -e bash -c "nix flake metadata --refresh github:Silveere/nixfiles; nh home switch github:Silveere/nixfiles"
|
konsole -e bash -c "nix flake metadata --refresh github:Silveere/nixfiles; nh home switch github:Silveere/nixfiles"
|
||||||
'')
|
'')
|
||||||
|
(
|
||||||
|
pkgs.runCommand "deckwrap" {} ''
|
||||||
|
mkdir -p $out/bin/
|
||||||
|
cat << EOF > $out/bin/deckwrap
|
||||||
|
#!/bin/sh
|
||||||
|
#this shebang is a constant between nixos and non-nixos that can be
|
||||||
|
#used to unset the two things below so we can get to the real command
|
||||||
|
unset LD_PRELOAD LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
|
''
|
||||||
|
)
|
||||||
];
|
];
|
||||||
programs.keychain.enable = false;
|
programs.keychain.enable = false;
|
||||||
nixfiles.packageSets.gaming.enable = true;
|
nixfiles.packageSets.gaming.enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user