diff --git a/lib.nix b/lib.nix index 5820c83..2293207 100644 --- a/lib.nix +++ b/lib.nix @@ -37,9 +37,9 @@ rec { mkdir -p $out/bin cp $textBeforeTemplatePath $out/template cp $scriptPath $out/bin/${name} - chmod +x $out/bin/${name} chown ${owner}:${group} $out/bin/${name} chmod ${mode} $out/bin/${name} + chmod +x $out/bin/${name} ''; # make a template with placeholders from a file