nix-flakify
This commit is contained in:
parent
13e69f5b9c
commit
3a840afda4
43
flake.lock
Normal file
43
flake.lock
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1626731190,
|
||||
"narHash": "sha256-FaYH6AjXEdaDR5PiG/bCD9rayZorIiPa+1vx0PjyBto=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "eb5076a68eef0b4b8bdcb57955d413600c158c84",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "master",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"yz-flake-utils": "yz-flake-utils"
|
||||
}
|
||||
},
|
||||
"yz-flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1623915702,
|
||||
"narHash": "sha256-BJA+aBQZJBeQ5t0TaoLSCL5ZG0AzH5lIgokGCb64nrk=",
|
||||
"owner": "YZITE",
|
||||
"repo": "flake-utils",
|
||||
"rev": "b26662a1f52046434d58daf133e814cf372fc9a4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "YZITE",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
13
flake.nix
Normal file
13
flake.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
description = "PSD Bank N. CSV summarizer";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/master";
|
||||
yz-flake-utils.url = "github:YZITE/flake-utils";
|
||||
};
|
||||
outputs = { nixpkgs, yz-flake-utils, ... }:
|
||||
yz-flake-utils.lib.mkFlakeFromProg {
|
||||
prevpkgs = nixpkgs;
|
||||
progname = "psdn-tacsvs";
|
||||
drvBuilder = final: prev: (import ./Cargo.nix { pkgs = final; }).rootCrate.build;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue