mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 10:50:20 +01:00
gaming: Use lib.getVersion for proton-ge
This commit is contained in:
parent
e1b2393c74
commit
fa3213946a
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
home.activation = {
|
||||
proton-ge = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
target="${config.home.homeDirectory}/.steam/root/compatibilitytools.d/Proton-${pkgs.proton-ge.version}"
|
||||
target="${config.home.homeDirectory}/.steam/root/compatibilitytools.d/Proton-${lib.getVersion pkgs.proton-ge}"
|
||||
if ! [ -d "$target" ]; then
|
||||
cp -R ${pkgs.proton-ge} "$target"
|
||||
chmod -R u+w "$target"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue