mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-25 02:10:57 +01:00
Failing build is blocking CI, test only verifies generated config. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
23 lines
454 B
Nix
23 lines
454 B
Nix
{
|
|
config = {
|
|
programs.radicle.enable = true;
|
|
|
|
test.stubs.radicle-node = {
|
|
buildScript = ''
|
|
mkdir -p "$out/bin"
|
|
cat > "$out/bin/rad" << 'EOF'
|
|
#!/bin/sh
|
|
# Stub rad command that does nothing
|
|
exit 0
|
|
EOF
|
|
chmod +x "$out/bin/rad"
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.radicle/config.json \
|
|
${./basic-configuration.json}
|
|
'';
|
|
};
|
|
}
|