cryptoids/gup/cryptoids.nix.gup
2018-01-16 13:37:50 +01:00

24 lines
708 B
Plaintext
Executable File

#! /usr/bin/env nix-shell
#! nix-shell -i zsh -p zsh
exec 1>${1}
gup -u \
./cryptoids-types/cryptoids-types.nix \
./uuid-crypto/uuid-crypto.nix \
./filepath-crypto/filepath-crypto.nix \
./cryptoids/cryptoids-class.nix \
./cryptoids/cryptoids.nix
<<EOF
{ callPackage }:
rec {
cryptoids-types = callPackage ./cryptoids-types/cryptoids-types.nix {};
uuid-crypto = callPackage ./uuid-crypto/uuid-crypto.nix {};
filepath-crypto = callPackage ./filepath-crypto/filepath-crypto.nix {};
cryptoids-class = callPackage ./cryptoids-class/cryptoids-class.nix { inherit cryptoids cryptoids-types; };
cryptoids = callPackage ./cryptoids/cryptoids.nix { inherit cryptoids-types; };
}
EOF