Skip to content

Commit

Permalink
use --locked during cargo install to use the package lock #12
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysius committed Jun 3, 2024
1 parent 0a7153b commit d38b70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export VW_VERSION = $(DEB_VERSION_UPSTREAM)
# I don't have any experience with rust and couldn't quite grasp how I could split the compiling and installing. For now there is one command that does everything in the `dh_auto_install` step.
override_dh_auto_install:
mkdir -p debian/tmp/usr
cargo install $(cargoinstallargs) --path . --features sqlite,mysql,postgresql --root debian/tmp
cargo install $(cargoinstallargs) --locked --path . --features sqlite,mysql,postgresql --root debian/tmp
mv debian/tmp/bin debian/tmp/usr

# use upstream env template as defaults with some maintainer defaults
Expand Down

0 comments on commit d38b70c

Please sign in to comment.