about summary refs log blame commit diff
path: root/ci/pipelines/socrates.nix
blob: ffea654daef389c3f74f36347be4577f3493feac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                         
{ pkgs, ... }:

let
  pipeline.steps = [
    {
      command = ''
        nix-build '<nixpkgs/nixos>' \
          -I briefcase="$(pwd)" \
          -I nixpkgs=/var/lib/buildkite-agent-socrates/nixpkgs-channels \
          -I nixos-config=nixos/socrates/default.nix \
          -A system \
          --no-out-link \
          --show-trace
      '';
      label = ":laptop: Socrates [build]";
    }
  ];
in pkgs.writeText "socrates.yml" (builtins.toJSON pipeline)