Skip to content

Commit

Permalink
installer: fix missing path to cat
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Hjerpe committed Jan 22, 2024
1 parent 09d2dd7 commit ccc11c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/installer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ pkgs.writeShellScript "flatpak-managed-install" ''
set -eu
# Setup state variables
NEW_STATE=$(cat ${stateFile})
NEW_STATE=$(${pkgs.coreutils}/bin/cat ${stateFile})
if [[ -f ${statePath} ]]; then
OLD_STATE=$(cat ${statePath})
OLD_STATE=$(${pkgs.coreutils}/bin/cat ${statePath})
else
OLD_STATE={}
fi
Expand Down

0 comments on commit ccc11c9

Please sign in to comment.