Merge pull request #127986 from TredwellGit/generate-expr-from-tarballs.pl

generate-expr-from-tarballs.pl: use nix-shell as script interpreter
This commit is contained in:
Sandro 2021-08-05 10:10:14 +02:00 committed by GitHub
commit 6f7ee408c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;