generated from saji/ecp5-template
make flake use custom amaranth
All checks were successful
Unit Tests / Test (push) Successful in 2m15s
All checks were successful
Unit Tests / Test (push) Successful in 2m15s
This commit is contained in:
parent
3205c7104e
commit
7e41e6e2f3
11
flake.nix
11
flake.nix
|
@ -10,8 +10,11 @@
|
|||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ flake-parts, ... }:
|
||||
inputs@{ self, flake-parts, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
flake = {
|
||||
overlays.default = import ./python.nix;
|
||||
};
|
||||
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
|
@ -38,6 +41,11 @@
|
|||
];
|
||||
in
|
||||
{
|
||||
_module.args.pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [self.overlays.default];
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
packages.default = pkgs.python3.pkgs.buildPythonPackage {
|
||||
name = "groovylight";
|
||||
|
@ -53,6 +61,7 @@
|
|||
];
|
||||
|
||||
doCheck = true;
|
||||
dontCheckRuntimeDeps = 1; # nightly amaranth doesn't pass
|
||||
nativeCheckInputs =
|
||||
with pkgs;
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue