~woffs/geb

81bbaa4dda5d97c5ab6719c2379e86349807d524 — Frank Doepper 1 year, 7 months ago b5b116b
flake: eachDefaultSystem
2 files changed, 22 insertions(+), 5 deletions(-)

M flake.lock
M flake.nix
M flake.lock => flake.lock +15 -0
@@ 1,5 1,19 @@
{
  "nodes": {
    "flake-utils": {
      "locked": {
        "lastModified": 1667395993,
        "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
        "owner": "numtide",
        "repo": "flake-utils",
        "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
        "type": "github"
      },
      "original": {
        "id": "flake-utils",
        "type": "indirect"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1670827406,


@@ 16,6 30,7 @@
    },
    "root": {
      "inputs": {
        "flake-utils": "flake-utils",
        "nixpkgs": "nixpkgs"
      }
    }

M flake.nix => flake.nix +7 -5
@@ 1,14 1,16 @@
{
  description = "geb";
  outputs = { self, nixpkgs }: {
    packages.x86_64-linux.default =
      with import nixpkgs { system="x86_64-linux"; };
      stdenv.mkDerivation {
  inputs.flake-utils.url = "flake-utils";
  outputs = { self, nixpkgs, flake-utils }:
  flake-utils.lib.eachDefaultSystem (system:
    let pkgs = nixpkgs.legacyPackages.${system}; in
    {
      packages.default = pkgs.stdenv.mkDerivation {
        name = "geb-1.4";
        src = self;
        makeFlags = [ "BINDIR=$$out/bin" ];
        doCheck = true;
        checkTarget = "test";
      };
  };
    });
}