From fb924af13fa0ccc3d2859a6208f56a2bd65fcd49 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 16 Jun 2018 19:25:59 -0400 Subject: [PATCH] nixpkgs-lint.pl: use nix-shell for shebang This is more portable. --- maintainers/scripts/nixpkgs-lint.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maintainers/scripts/nixpkgs-lint.pl b/maintainers/scripts/nixpkgs-lint.pl index 7e9ff91ebe06..638d1b2aaa16 100755 --- a/maintainers/scripts/nixpkgs-lint.pl +++ b/maintainers/scripts/nixpkgs-lint.pl @@ -1,4 +1,5 @@ -#! /run/current-system/sw/bin/perl -w +#! /usr/bin/env nix-shell +#! nix-shell -i perl -p perl perlPackages.XMLSimple use strict; use List::Util qw(min);