diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-10T18·12+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-10T18·12+0000 |
commit | 73fe6871c479f7670f8c93b0cc9ef7bb1a851777 (patch) | |
tree | 41b4e3c7bc772bdd3e1df34fb929faa6e70268d0 /perl/lib/Nix/Store.pm | |
parent | 55481c44d4767ffde561c02b039717916e0536f6 (diff) |
* 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.
Diffstat (limited to 'perl/lib/Nix/Store.pm')
-rw-r--r-- | perl/lib/Nix/Store.pm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/perl/lib/Nix/Store.pm b/perl/lib/Nix/Store.pm new file mode 100644 index 000000000000..af69debedaf2 --- /dev/null +++ b/perl/lib/Nix/Store.pm @@ -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__ |