Change legacypackages to import nixpkgs

This commit is contained in:
xenia 2024-02-01 19:56:41 +01:00
parent e9ff270f34
commit d766c8434a

View File

@ -7,7 +7,7 @@
outputs = { self, nixpkgs, flake-utils }: outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (sys: flake-utils.lib.eachDefaultSystem (sys:
let pkgs = nixpkgs.legacyPackages.${sys}; let pkgs = import nixpkgs { system = sys; };
deps = [ pkgs.cowsay ]; deps = [ pkgs.cowsay ];
package = pkgs.writeScriptBin "program" "echo mjau | ${pkgs.cowsay}/bin/cowsay -f hellokitty"; package = pkgs.writeScriptBin "program" "echo mjau | ${pkgs.cowsay}/bin/cowsay -f hellokitty";
in rec { in rec {