Skip to content

Commit

Permalink
fix the shebang not being there
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed May 4, 2024
1 parent ddb6abc commit 974cbc6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
packages = {
default = self.packages."${system}".caligula;

lint-script =
let path = lib.makeBinPath [ crossHelpers.baseToolchain ];
in pkgs.writeScriptBin "lint" ''
export PATH=${path}
${./scripts/lint.sh}
'';
lint-script = pkgs.writeScriptBin "lint.sh" ''
#!/bin/sh
export PATH=${lib.makeBinPath [ crossHelpers.baseToolchain ]}
${./scripts/lint.sh}
'';

caligula = self.packages."${system}"."caligula-${system}";
}
Expand Down

0 comments on commit 974cbc6

Please sign in to comment.