2 changed files with 50 additions and 0 deletions
@ -0,0 +1,25 @@
|
||||
{ |
||||
"nodes": { |
||||
"nixpkgs": { |
||||
"locked": { |
||||
"lastModified": 1615240472, |
||||
"narHash": "sha256-m7r5+yFuJr+Seoynd06jnfcV3UTHNcFLmsqK3jQGU8E=", |
||||
"owner": "NixOS", |
||||
"repo": "nixpkgs", |
||||
"rev": "fab58377abea3fb53c5781cff510d908ea23e92c", |
||||
"type": "github" |
||||
}, |
||||
"original": { |
||||
"id": "nixpkgs", |
||||
"type": "indirect" |
||||
} |
||||
}, |
||||
"root": { |
||||
"inputs": { |
||||
"nixpkgs": "nixpkgs" |
||||
} |
||||
} |
||||
}, |
||||
"root": "root", |
||||
"version": 7 |
||||
} |
@ -0,0 +1,25 @@
|
||||
{ |
||||
description = "Ticker calendar aggregator"; |
||||
|
||||
outputs = { self, nixpkgs }: |
||||
let |
||||
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; |
||||
forSystems = nixpkgs.lib.genAttrs systems; |
||||
in { |
||||
packages = forSystems (system: |
||||
import ./default.nix { |
||||
pkgs = nixpkgs.legacyPackages.${system}; |
||||
} |
||||
); |
||||
|
||||
defaultPackage = forSystems (system: |
||||
self.packages.${system}.ticker-serve |
||||
); |
||||
|
||||
devShell = import ./shell.nix { |
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux; |
||||
}; |
||||
|
||||
nixosModule = import ./nixos-module; |
||||
}; |
||||
} |
Loading…
Reference in new issue