Jafner.net/projects/nix-ecuflash/flake.nix
Joey Hafner a03bde27a7
Some checks failed
Deploy NixOS System Configurations to Silver-Flame Hosts / deploy (push) Failing after 1m58s
Init flake for running ecuflash in wine
2024-11-01 13:09:43 -07:00

29 lines
800 B
Nix

{
description = "A Nix flake for EcuFlash";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
erosanix.url = "github:emmanuelrosa/erosanix";
};
outputs = { self, nixpkgs, erosanix }: {
packages.x86_64-linux = let
pkgs = import "${nixpkgs}" {
system = "x86_64-linux";
};
in with (pkgs // erosanix.packages.x86_64-linux // erosanix.lib.x86_64-linux); {
default = self.packages.x86_64-linux.ecuflash;
ecuflash = callPackage ./ecuflash.nix {
inherit mkWindowsAppNoCC;
wine = wineWowPackages.full;
};
};
apps.x86_64-linux.ecuflash = {
type = "app";
program = "${self.packages.x86_64-linux.ecuflash}/bin/ecuflash";
};
apps.x86_64-linux.default = self.apps.x86_64-linux.ecuflash;
};
}