Skip to content

Commit

Permalink
chore: track all dependencies for releases in nix (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
obreitwi authored May 27, 2024
1 parent 141a7e3 commit ddfc2dc
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@
# Extra inputs can be added here; cargo and rustc are provided by default.
packages = with pkgs; [
bacon
findutils
gawk
gh
ghp-import
help2man
# pkgs.ripgrep
];
};
Expand Down
2 changes: 1 addition & 1 deletion hooks/pre-push-update-docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# NOTE: Currently disabled as we only generate/upload docs on release.
#
Expand Down
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/env/bin bash

source <(bash ./test-utils/setup.sh)
cargo test --verbose
2 changes: 1 addition & 1 deletion src/at.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<'a> At<'a> {
let tempfile = self.session.mktemp()?;

let cmd_rm = format!(
"#!/bin/bash\nrm '{}' && rmdir '{}'",
"#!/usr/bin/env bash\nrm '{}' && rmdir '{}'",
self.session.prepend_base_folder(path).display(),
self.session
.prepend_base_folder(path.parent().with_context(|| format!(
Expand Down
2 changes: 1 addition & 1 deletion tools/make-binary-release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Create a binary release.
#
Expand Down
2 changes: 1 addition & 1 deletion tools/update-docs-latest-release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Upate docs to latest released (i.e. tagged) version.

Expand Down

0 comments on commit ddfc2dc

Please sign in to comment.