From 974cbc6b5217db900fda999e7d88342fcf1e67a3 Mon Sep 17 00:00:00 2001 From: Astrid Yu Date: Sat, 4 May 2024 16:19:00 -0700 Subject: [PATCH] fix the shebang not being there --- flake.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 36799f3..06c7cfb 100644 --- a/flake.nix +++ b/flake.nix @@ -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}"; }