diff --git a/pkgs/by-name/im/imager/package.nix b/pkgs/by-name/im/imager/package.nix index bfc2dd2c92af2..58d2996ccb97f 100644 --- a/pkgs/by-name/im/imager/package.nix +++ b/pkgs/by-name/im/imager/package.nix @@ -87,8 +87,7 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $out/bin cp -a ../gildas-exe/* $out mv $out/$GAG_EXEC_SYSTEM $out/libexec - cp admin/wrapper.sh $out/bin/imager - chmod 755 $out/bin/imager + install -Dm755 admin/wrapper.sh $out/bin/imager ''; meta = {