Update flake

This commit is contained in:
Andreas Zweili 2022-11-17 12:02:34 +01:00
parent 4c7375cd09
commit fca0ea1e39
2 changed files with 5 additions and 52 deletions

View File

@ -15,21 +15,6 @@
"type": "github"
}
},
"flake-utils_2": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1668189330,
@ -46,44 +31,10 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1668629939,
"narHash": "sha256-MEh5T0wZ1oaoUn84odShFvIObwSIbZ+NEZ5Q2ff83nc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b85c2a060f6223e869493a8397ca47223ee2458a",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"poetry2nix": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1668394823,
"narHash": "sha256-UJqW+Zp1boVhTKfWel2WTi7Qn0R9hfpVeSRdJYPJwXQ=",
"owner": "nix-community",
"repo": "poetry2nix",
"rev": "3cc82ca6ccca2a06dbb05cb0b74efd5d50e60d48",
"type": "github"
},
"original": {
"id": "poetry2nix",
"type": "indirect"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"poetry2nix": "poetry2nix"
"nixpkgs": "nixpkgs"
}
}
},

View File

@ -4,7 +4,7 @@
nixpkgs.url = github:NixOS/nixpkgs/nixos-22.05;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils, poetry2nix }:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
@ -13,7 +13,9 @@
devShell = pkgs.mkShell {
buildInputs = [
pkgs.gnumake
pkgs.python39
(pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
})
pkgs.python39Packages.poetry
];
};