mirror of
https://github.com/NixOS/nix.git
synced 2024-11-29 02:02:27 +00:00
10f864c5ae
This is good for shebang, and also good for future build system simplifications
9 lines
217 B
Bash
Executable File
9 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 ]]
|