Browse Source

Initial commit

master
Andreas Wiese 3 months ago
commit
64b97411fe
  1. 8
      default.nix
  2. 27
      flake.lock
  3. 38
      flake.nix

8
default.nix

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> { } }:
let
inherit (pkgs) callPackage;
in rec {
}

27
flake.lock

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1615583000,
"narHash": "sha256-ysd3ntUs8qeVuYdmp2Y5J992NVdoKji9i92StU3IJ7M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "60b18a066e8ce5dd21ebff5324345d3586a67ad9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-20.09-small",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

38
flake.nix

@ -0,0 +1,38 @@
{
description = "meterriblecrew.net package flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09-small";
outputs = inputs@{ self, nixpkgs }: let
systems = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
nixosModules = {
};
packages = forAllSystems (system: import ./. {
pkgs = import nixpkgs { inherit system; };
});
overlay = next: prev:
let localPkgs = import ./. { pkgs = next; };
in {
#inherit (localPkgs)
# foo
# bar
# ;
};
};
}
Loading…
Cancel
Save