Skip to content

Commit

Permalink
flake: fix demodir file permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jun 12, 2024
1 parent 9a7eb38 commit c795e81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
packages = [ contrast-release ];
shellHook = ''
cd "$(mktemp -d)"
[[ -e ${contrast-release}/runtime.yml ]] && cp ${contrast-release}/runtime.yml .
[[ -e ${contrast-release}/coordinator.yml ]] && cp ${contrast-release}/coordinator.yml .
[[ -d ${contrast-release}/deployment ]] && cp -r ${contrast-release}/deployment .
[[ -e ${contrast-release}/runtime.yml ]] && install -m644 ${contrast-release}/runtime.yml .
[[ -e ${contrast-release}/coordinator.yml ]] && install -m644 ${contrast-release}/coordinator.yml .
[[ -d ${contrast-release}/deployment ]] && install -m644 -Dt ./deployment ${contrast-release}/deployment/*
export DO_NOT_TRACK=1
'';
});
Expand Down

0 comments on commit c795e81

Please sign in to comment.