generated from Dario48/smb_from_ass
Initial commit
This commit is contained in:
commit
0c07c770a9
1 changed files with 20819 additions and 0 deletions
56
flake.nix
Normal file
56
flake.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
description = "A basic Bun project template for JavaScript/TypeScript development.";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
nesrx = {
|
||||
url = "git+https://dario48.site/git/Dario48/nesrx-flake.git";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-parts.follows = "flake-parts";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
imports = [ ];
|
||||
|
||||
systems = builtins.attrNames inputs.nixpkgs.legacyPackages;
|
||||
|
||||
perSystem =
|
||||
{
|
||||
config,
|
||||
system,
|
||||
pkgs,
|
||||
self',
|
||||
...
|
||||
}:
|
||||
{
|
||||
_module.args.pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
inputs.nesrx.overlays.default
|
||||
];
|
||||
};
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
inputsFrom = [ self'.packages.default ];
|
||||
packages = with pkgs; [
|
||||
nesrx
|
||||
fceux
|
||||
];
|
||||
};
|
||||
packages.default = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "smbOneOne";
|
||||
src = ./.;
|
||||
dontInstall = true;
|
||||
nativeBuildInputs = with pkgs; [ cc65 ];
|
||||
};
|
||||
packages.debug = config.packages.default.overrideAttrs (_: {
|
||||
buildStep = "make debug";
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue