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

  inputs.nixpkgs.url = "nixpkgs/nixos-24.05";
  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 = rec {
          default = pkgs.callPackage ./dged.nix { };
          gcc = default;
          clang = pkgs.callPackage ./dged.nix { stdenv = pkgs.clangStdenv; };
        };
      }
    );
}