diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-28 10:26:03 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-28 15:18:10 +0200 |
commit | bdc2fca711d3ad110d7ef2a2c1ae99537144a00e (patch) | |
tree | 79aae9789b2903f17987be9fc33c37a9a9106d49 /nix/default.nix | |
parent | e4e4c4a430c355c79dd0cb975084b4e72ceef484 (diff) | |
download | PrismLauncher-bdc2fca711d3ad110d7ef2a2c1ae99537144a00e.tar.gz PrismLauncher-bdc2fca711d3ad110d7ef2a2c1ae99537144a00e.tar.bz2 PrismLauncher-bdc2fca711d3ad110d7ef2a2c1ae99537144a00e.zip |
refactor(nix): don't instantiate nixpkgs
See https://zimbatm.com/notes/1000-instances-of-nixpkgs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'nix/default.nix')
-rw-r--r-- | nix/default.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/nix/default.nix b/nix/default.nix deleted file mode 100644 index 71c95c2c..00000000 --- a/nix/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - inputs, - self, - ... -}: { - imports = [ - ./dev.nix - ./distribution.nix - ]; - - _module.args = { - # User-friendly version number. - version = builtins.substring 0 8 self.lastModifiedDate; - }; - - perSystem = {system, ...}: { - # Nixpkgs instantiated for supported systems with our overlay. - _module.args.pkgs = import inputs.nixpkgs { - inherit system; - overlays = [self.overlays.default]; - }; - }; - - # Supported systems. - systems = [ - "x86_64-linux" - "aarch64-linux" - "x86_64-darwin" - "aarch64-darwin" - ]; -} |