summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoruakci <uakci@uakci.pl>2022-02-23 20:35:19 +0100
committeruakci <uakci@uakci.pl>2022-02-23 20:35:19 +0100
commit59f26710921c2c352d002bb38e185f6a4f8629f3 (patch)
tree2098e900c526d471e15417bfa479787a9633721c /flake.nix
parentremove ${system} subpath from flake nixosModule (diff)
downloadnuogai-59f26710921c2c352d002bb38e185f6a4f8629f3.tar.gz
nuogai-59f26710921c2c352d002bb38e185f6a4f8629f3.zip
flake purity fix
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index f63229b..06988d2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,11 +12,7 @@
outputs = { self, nixpkgs, gomod2nix, nuigui-upstream
, serial-predicate-engine-upstream, flake-utils, ... }:
- {
- inherit (gomod2nix) devShell;
- nixosModule = { config, pkgs, lib, ... }@args:
- import ./module.nix (args // { inherit self; });
- } // flake-utils.lib.eachDefaultSystem (system:
+ flake-utils.lib.eachDefaultSystem (system:
let
pkgs = (import nixpkgs {
inherit system;
@@ -71,5 +67,8 @@
in {
defaultPackage = nuogai;
packages = schemePkgs // { inherit toaqScript nuogai; };
+ inherit (gomod2nix) devShell;
+ nixosModule = { config, pkgs, lib, ... }@args:
+ import ./module.nix (args // { inherit self system; });
});
}