mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
nixosTests.agda: Adapt to --guardedness requirements
The one-line test is hard to fix in a readable manner and doesn't really add value above the hello-world test. So rather simplify to reduce maintenance.
This commit is contained in:
parent
27ff64e919
commit
65fcd698bb
@ -2,6 +2,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||
|
||||
let
|
||||
hello-world = pkgs.writeText "hello-world" ''
|
||||
{-# OPTIONS --guardedness #-}
|
||||
open import IO
|
||||
open import Level
|
||||
|
||||
@ -35,10 +36,6 @@ in
|
||||
machine.succeed("touch TestEmpty.agda")
|
||||
machine.succeed("agda TestEmpty.agda")
|
||||
|
||||
# Minimal script that actually uses the standard library
|
||||
machine.succeed('echo "import IO" > TestIO.agda')
|
||||
machine.succeed("agda -l standard-library -i . TestIO.agda")
|
||||
|
||||
# Hello world
|
||||
machine.succeed(
|
||||
"cp ${hello-world} HelloWorld.agda"
|
||||
|
Loading…
Reference in New Issue
Block a user