From d766c8434ac585896e17a3468f1556d17dacc72b Mon Sep 17 00:00:00 2001 From: xenia Date: Thu, 1 Feb 2024 19:56:41 +0100 Subject: [PATCH] Change legacypackages to import nixpkgs --- minimum/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimum/flake.nix b/minimum/flake.nix index 9f9f85f..c09652d 100644 --- a/minimum/flake.nix +++ b/minimum/flake.nix @@ -7,7 +7,7 @@ outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (sys: - let pkgs = nixpkgs.legacyPackages.${sys}; + let pkgs = import nixpkgs { system = sys; }; deps = [ pkgs.cowsay ]; package = pkgs.writeScriptBin "program" "echo mjau | ${pkgs.cowsay}/bin/cowsay -f hellokitty"; in rec {