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
13
flake.nix
13
flake.nix
|
@ -10,8 +10,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{ flake-parts, ... }:
|
inputs@{ self, flake-parts, ... }:
|
||||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
|
flake = {
|
||||||
|
overlays.default = import ./python.nix;
|
||||||
|
};
|
||||||
|
|
||||||
systems = [
|
systems = [
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
|
@ -27,7 +30,7 @@
|
||||||
inputs',
|
inputs',
|
||||||
pkgs,
|
pkgs,
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
toolchain-pkgs = with pkgs; [
|
toolchain-pkgs = with pkgs; [
|
||||||
|
@ -38,6 +41,11 @@
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
_module.args.pkgs = import inputs.nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [self.overlays.default];
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
formatter = pkgs.nixfmt-rfc-style;
|
formatter = pkgs.nixfmt-rfc-style;
|
||||||
packages.default = pkgs.python3.pkgs.buildPythonPackage {
|
packages.default = pkgs.python3.pkgs.buildPythonPackage {
|
||||||
name = "groovylight";
|
name = "groovylight";
|
||||||
|
@ -53,6 +61,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
dontCheckRuntimeDeps = 1; # nightly amaranth doesn't pass
|
||||||
nativeCheckInputs =
|
nativeCheckInputs =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue