use styx' nixpkgs
2 files changed, 11 insertions(+), 12 deletions(-)

M flake.lock
M flake.nix
M flake.lock +8 -7
@@ 17,11 17,11 @@ 
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1631222974,
-        "narHash": "sha256-l4yzBfIsPDS0A/ECgIrpjhACzQk9eto1hbZQk6Tdqxc=",
+        "lastModified": 1623423544,
+        "narHash": "sha256-3b6CdnlUBXb2M5F7vLQ/DVRmpu31YDo1wthdybF46Dc=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "a7490b0149fbc833fb27c6f33df5c04820ead6c2",
+        "rev": "5707a8efadbd9a2bfe5aa663555c62ba2933cc81",
         "type": "github"
       },
       "original": {

          
@@ 32,15 32,16 @@ 
     "root": {
       "inputs": {
         "flake-utils": "flake-utils",
-        "nixpkgs": "nixpkgs",
+        "nixpkgs": [
+          "styx",
+          "nixpkgs"
+        ],
         "styx": "styx"
       }
     },
     "styx": {
       "inputs": {
-        "nixpkgs": [
-          "nixpkgs"
-        ],
+        "nixpkgs": "nixpkgs",
         "utils": [
           "flake-utils"
         ]

          
M flake.nix +3 -5
@@ 1,18 1,16 @@ 
 {
   inputs = {
+    nixpkgs.follows = "styx/nixpkgs";
     flake-utils.url = "github:numtide/flake-utils";
     styx = {
       url = "github:dermetfan/styx/modernize";
-      inputs = {
-        utils.follows = "flake-utils";
-        nixpkgs.follows = "nixpkgs";
-      };
+      inputs.utils.follows = "flake-utils";
     };
   };
 
   outputs = { self, nixpkgs, flake-utils, styx, ... } @ inputs:
     flake-utils.lib.eachDefaultSystem (system: let
-      pkgs = import nixpkgs { inherit system; };
+      pkgs = nixpkgs.legacyPackages.${system};
     in rec {
       packages = self.outputs.overlay {} pkgs;