Merge pull request #132748 from NixOS/backport-127986-to-release-21.05

[Backport release-21.05] generate-expr-from-tarballs.pl: use nix-shell as script interpreter
This commit is contained in:
Artturi 2021-08-07 00:29:31 +03:00 committed by GitHub
commit e95258eaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -1,10 +1,7 @@
#! /usr/bin/env perl
# Usage:
#
# manually update tarballs.list
# then run: cat tarballs.list | perl ./generate-expr-from-tarballs.pl
#!/usr/bin/env nix-shell
#!nix-shell --pure --keep NIX_PATH -i perl -p cacert nix perl
# Usage: manually update tarballs.list then run: ./generate-expr-from-tarballs.pl tarballs.list
use strict;
use warnings;