mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-27 12:47:17 +02:00

Fix #9859 It's a breaking change but that's fine; we can just update Hydra to use the new bindings.
13 lines
225 B
Perl
13 lines
225 B
Perl
use strict;
|
|
use warnings;
|
|
use Test2::V0;
|
|
|
|
use Nix::Store;
|
|
|
|
my $s = new Nix::Store("dummy://");
|
|
|
|
my $res = $s->isValidPath("/nix/store/g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar");
|
|
|
|
ok(!$res, "should not have path");
|
|
|
|
done_testing;
|