disko/lib/libexec-dir.nu
Felix Uhl f34c39ec45 disko2: Add flake-output and package
This allows running `nix run .#disko2` for testing
2024-10-25 11:37:47 +02:00

5 lines
No EOL
172 B
Text

export def main []: nothing -> path {
# $env.FILE_PWD contains the file of the script (disko.nu), not this module
let libexec_dir = $env.FILE_PWD
$libexec_dir
}