Update nixpkgs-u and simplified deployment

This commit is contained in:
Filippo Berto 2022-12-29 13:20:33 +01:00
parent e4c1f6622e
commit b75cb134a7
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 5 additions and 7 deletions

6
flake.lock generated
View file

@ -243,11 +243,11 @@
}, },
"nixpkgs-u": { "nixpkgs-u": {
"locked": { "locked": {
"lastModified": 1670841420, "lastModified": 1672262501,
"narHash": "sha256-mSEia1FzrsHbfqjorMyYiX8NXdDVeR1Pw1k55jMJlJY=", "narHash": "sha256-ZNXqX9lwYo1tOFAqrVtKTLcJ2QMKCr3WuIvpN8emp7I=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "33e0d99cbedf2acfd7340d2150837fbb28039a64", "rev": "e182da8622a354d44c39b3d7a542dc12cd7baa5f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -70,7 +70,7 @@
basic = with flake-utils.lib; eachDefaultSystem (system: basic = with flake-utils.lib; eachDefaultSystem (system:
let let
pkgs = import nixpkgs-u { inherit system config overlays; }; pkgs = import nixpkgs { inherit system config overlays; };
in in
{ {
formatter = pkgs.nixpkgs-fmt; formatter = pkgs.nixpkgs-fmt;
@ -88,9 +88,7 @@
}; };
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = [ deploy-rs.packages.${system}.deploy-rs ];
deploy-rs.packages.${system}.deploy-rs
];
shellHook = '' shellHook = ''
${self.checks.${system}.pre-commit-check.shellHook} ${self.checks.${system}.pre-commit-check.shellHook}
''; '';