2023-09-19 10:33:32 +02:00
|
|
|
{ self, super, bsc, testPkgs }:
|
2023-03-02 11:15:25 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
stdenv = self.stdenv;
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ci";
|
|
|
|
src = ./ci.nix;
|
|
|
|
dontUnpack = true;
|
|
|
|
|
|
|
|
# Just build some packages
|
2023-09-19 10:33:32 +02:00
|
|
|
buildInputs = testPkgs;
|
2023-03-02 11:15:25 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
if [ -e /boot ]; then
|
|
|
|
echo Build is NOT under chroot
|
|
|
|
echo This is the content of / :
|
|
|
|
ls -l /
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "OK: Build is under chroot"
|
2023-03-13 16:17:02 +01:00
|
|
|
|
|
|
|
echo "buildInputs:"
|
|
|
|
printf -- "- %s\n" $buildInputs
|
2023-03-02 11:15:25 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
touch $out
|
|
|
|
'';
|
|
|
|
}
|