Change legacypackages to import nixpkgs
This commit is contained in:
parent
e9ff270f34
commit
d766c8434a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user