nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 11 lines 249 B view raw
1{ 2 callPackages, 3 isDeclaredArray, 4 makeSetupHook, 5}: 6makeSetupHook { 7 name = "sortArray"; 8 propagatedBuildInputs = [ isDeclaredArray ]; 9 passthru.tests = callPackages ./tests.nix { }; 10 meta.description = "Sorts an array"; 11} ./sortArray.bash