Skip to content

Commit

Permalink
fix utils imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed Sep 12, 2023
1 parent 4b376ff commit da34902
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion checks/rustfmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
, ...
}:
runCommand "check-rustfmt" { nativeBuildInputs = [ cargo rustfmt ]; } ''
cargo fmt --manifest-path=${./../scripts/native-utils}/Cargo.toml --check
cargo fmt --manifest-path=${./../utils}/Cargo.toml --check
touch $out
''
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
};

packages = {
utils = pkgs.callPackage ./scripts/native-utils { };
staticUtils = pkgs.pkgsStatic.callPackage ./scripts/native-utils { };
utils = pkgs.callPackage ./utils { };
staticUtils = pkgs.pkgsStatic.callPackage ./utils { };
};

devShells.default = pkgs.mkShell {
Expand Down

0 comments on commit da34902

Please sign in to comment.