mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
7 lines
196 B
Bash
7 lines
196 B
Bash
|
source common.sh
|
||
|
|
||
|
# Test symlinks in zip files (#10649).
|
||
|
path=$(nix flake prefetch --json file://$(pwd)/tree.zip | jq -r .storePath)
|
||
|
[[ $(cat $path/foo) = foo ]]
|
||
|
[[ $(readlink $path/bar) = foo ]]
|