From be629ae9a5943ea80558b703344536d4631cb12e Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Fri, 22 Dec 2023 22:03:29 +0100 Subject: [PATCH] Might be useful to start out smaller --- flake.nix | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/flake.nix b/flake.nix index 7f06cb8..69c52c2 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "A few hydra jobs"; inputs = { - #nixpkgs.url = github:NixOS/nixpkgs/nixos-23.11; +#nixpkgs.url = github:NixOS/nixpkgs/nixos-23.11; nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; flake-utils.url = github:numtide/flake-utils; uiua = { @@ -10,18 +10,14 @@ }; }; outputs = { self, flake-utils, nixpkgs, uiua }: - flake-utils.lib.eachDefaultSystem (system: - let pkgs = import nixpkgs { inherit system; }; - in { - - packages = { - default = uiua.packages.${system}.default; - }; - - hydraJobs = { - inherit (self) packages; - }; - - - }); + let system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in { + packages = { + default = uiua.packages.${system}.default; + }; + hydraJobs = { + inherit (self) packages; + }; + }; }