forked from Fediversity/Fediversity
Reviewed-on: Fediversity/Fediversity#269 Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Kiara Grouwstra <kiara@procolix.eu> Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
18 lines
403 B
Nix
18 lines
403 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (builtins) toString;
|
|
in
|
|
{
|
|
REPO_DIR = toString ../.;
|
|
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
|
BIN_PATH = lib.makeBinPath [
|
|
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
|
pkgs.nix
|
|
# nixops error maybe due to our flake git hook: executing 'git': No such file or directory
|
|
pkgs.git
|
|
];
|
|
}
|