summaryrefslogtreecommitdiff
path: root/flake.nix
blob: d741736aa90db54b18eeef946ffc9a4870ccc489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  description = "An editor for datagubbar";

  inputs.nixpkgs.url = "nixpkgs/nixos-22.11";
  inputs.flake-utils.url = "github:numtide/flake-utils";

  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = nixpkgs.legacyPackages."${system}";
      in
      {
        packages.default = pkgs.callPackage ./dged.nix { };
        packages.clang = pkgs.callPackage ./dged.nix { stdenv = pkgs.clangStdenv; };
      }
    );
}