feat(shell): add packer.nu (#414)

* feat(shell): add `packer.nu`

* dependency update (#413)

* fix(main): move `packer.nu` step before linux package managers

---------

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
This commit is contained in:
Sourajyoti Basak
2023-05-05 14:31:24 +05:30
committed by GitHub
parent 97fd2b2718
commit 227e8dcc8d
2 changed files with 25 additions and 1 deletions

View File

@@ -177,6 +177,11 @@ For more information about this issue see https://askubuntu.com/questions/110969
}
}
#[cfg(target_os = "linux")]
// NOTE: Due to breaking `nu` updates, `packer.nu` needs to be updated before `nu` get updated
// by other package managers.
runner.execute(Step::Shell, "packer.nu", || linux::run_packer_nu(&ctx))?;
#[cfg(target_os = "linux")]
let distribution = linux::Distribution::detect();