mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
10f864c5ae
This is good for shebang, and also good for future build system simplifications
8 lines
217 B
Bash
Executable file
8 lines
217 B
Bash
Executable file
#!/usr/bin/env 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 ]]
|