mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
bc08502249
Fix #9859 It's a breaking change but that's fine; we can just update Hydra to use the new bindings.
45 lines
1.1 KiB
Perl
45 lines
1.1 KiB
Perl
package Nix::Store;
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
require Exporter;
|
|
|
|
our @ISA = qw(Exporter);
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw( ) ] );
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
|
|
|
our @EXPORT = qw(
|
|
StoreWrapper
|
|
StoreWrapper::new
|
|
StoreWrapper::isValidPath StoreWrapper::queryReferences StoreWrapper::queryPathInfo StoreWrapper::queryDeriver StoreWrapper::queryPathHash
|
|
StoreWrapper::queryPathFromHashPart
|
|
StoreWrapper::topoSortPaths StoreWrapper::computeFSClosure followLinksToStorePath StoreWrapper::exportPaths StoreWrapper::importPaths
|
|
StoreWrapper::addToStore StoreWrapper::makeFixedOutputPath
|
|
StoreWrapper::derivationFromPath
|
|
StoreWrapper::addTempRoot
|
|
StoreWrapper::queryRawRealisation
|
|
|
|
hashPath hashFile hashString convertHash
|
|
signString checkSignature
|
|
getBinDir getStoreDir
|
|
setVerbosity
|
|
);
|
|
|
|
our $VERSION = '0.15';
|
|
|
|
sub backtick {
|
|
open(RES, "-|", @_) or die;
|
|
local $/;
|
|
my $res = <RES> || "";
|
|
close RES or die;
|
|
return $res;
|
|
}
|
|
|
|
require XSLoader;
|
|
XSLoader::load('Nix::Store', $VERSION);
|
|
|
|
1;
|
|
__END__
|