diff --git a/README.md b/README.md index 5e8f017..a43053e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ My bundix [fork](https://github.com/sagittaros/bundix) is needed to generate the ``` sh # installation -nix profile install github:sagittaros/bundix +nix profile install github:sagittaros/bundix/main # upgrade nix profile upgrade '.*' @@ -61,7 +61,7 @@ With nix [installed](/docs/nix-installation.md) and optionally [direnv](/docs/di ``` sh cd myapp -nix flake init -t github:sagittaros/ruby-nix +nix flake init -t github:sagittaros/ruby-nix/main ``` #### 2. Enter nix shell diff --git a/flake.lock b/flake.lock index deabea5..082e562 100644 --- a/flake.lock +++ b/flake.lock @@ -3,18 +3,21 @@ "bundix": { "inputs": { "fu": "fu", - "nixpkgs": "nixpkgs" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { - "lastModified": 1678436065, - "narHash": "sha256-ULUUoluUkwqCcoYHH3mLsuakxo5dIQF7puzCj0TitCU=", + "lastModified": 1678444975, + "narHash": "sha256-NKIpaNozIm+1i0vkdhIsXLQxvVKtOfStZlb2BJmDHqA=", "owner": "sagittaros", "repo": "bundix", - "rev": "8c42eaac2d5632f545e174dcb5c01f05930b3758", + "rev": "8cea9709a06a458179f9677c244801ed944c2fc9", "type": "github" }, "original": { "owner": "sagittaros", + "ref": "main", "repo": "bundix", "type": "github" } @@ -36,27 +39,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1678298120, - "narHash": "sha256-iaV5xqgn29xy765Js3EoZePQyZIlLZA3pTYtTnKkejg=", + "lastModified": 1678418513, + "narHash": "sha256-HLLR2Fmkn3TgD0F+u5gMcTKx5YzAU1rbS4cLfm6ugiU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1e383aada51b416c6c27d4884d2e258df201bc11", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1678298120, - "narHash": "sha256-iaV5xqgn29xy765Js3EoZePQyZIlLZA3pTYtTnKkejg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1e383aada51b416c6c27d4884d2e258df201bc11", + "rev": "5496585eb876f2ce97654bc8f96838c6f8642563", "type": "github" }, "original": { @@ -67,7 +54,7 @@ "root": { "inputs": { "bundix": "bundix", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index 263f522..989d051 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,10 @@ nixpkgs.url = "nixpkgs"; # a fork that supports platform dependant gem - bundix.url = "github:sagittaros/bundix"; + bundix = { + url = "github:sagittaros/bundix/main"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, bundix }: {