mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
* Include the Nix Perl bindings in Nix itself. This will allow the
bindings to be used in Nix's own Perl scripts. The only downside is that Perl XS and Automake/libtool don't really like each other, so building is a bit tricky.
This commit is contained in:
parent
55481c44d4
commit
73fe6871c4
6 changed files with 186 additions and 1 deletions
23
perl/lib/Nix/Store.pm
Normal file
23
perl/lib/Nix/Store.pm
Normal file
|
@ -0,0 +1,23 @@
|
|||
package Nix::Store;
|
||||
|
||||
use 5.010001;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
require Exporter;
|
||||
|
||||
our @ISA = qw(Exporter);
|
||||
|
||||
our %EXPORT_TAGS = ( 'all' => [ qw( ) ] );
|
||||
|
||||
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
||||
|
||||
our @EXPORT = qw( );
|
||||
|
||||
our $VERSION = '0.15';
|
||||
|
||||
require XSLoader;
|
||||
XSLoader::load('Nix::Store', $VERSION);
|
||||
|
||||
1;
|
||||
__END__
|
Loading…
Add table
Add a link
Reference in a new issue