fix: getting the build to work
This commit is contained in:
parent
f802c10a3c
commit
5a8bcc213c
1 changed files with 48 additions and 43 deletions
19
flake.nix
19
flake.nix
|
@ -3,20 +3,24 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
|
||||
flake-utils.url =
|
||||
"https://flakehub.com/f/numtide/flake-utils/0.1.85.tar.gz";
|
||||
flake-utils.url = "https://flakehub.com/f/numtide/flake-utils/0.1.85.tar.gz";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, ... }:
|
||||
let pythonVersion = "python39";
|
||||
in flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
...
|
||||
}: let
|
||||
pythonVersion = "python39";
|
||||
in
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
lib = pkgs.lib;
|
||||
python3Packages = pkgs.python3Packages;
|
||||
fetchPypi = pkgs.fetchPypi;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
pkgSrc = pkgs.fetchFromGitHub {
|
||||
owner = "webcomics";
|
||||
repo = "dosage";
|
||||
rev = "9163317abadcef0a562afaaf422828b56d006e20";
|
||||
|
@ -34,6 +38,7 @@
|
|||
responses
|
||||
];
|
||||
|
||||
src = pkgSrc;
|
||||
requirements = "${src}/setup/requirements.txt";
|
||||
|
||||
nativeBuildInputs = with python3Packages; [setuptools-scm];
|
||||
|
|
Loading…
Reference in a new issue