Browse Source

add flonks

canon
Hazel Levine 2 years ago
parent
commit
5f0827d989
Signed by: hazel
GPG Key ID: 1884029A28789A62
  1. 3
      default.nix
  2. 43
      flake.lock
  3. 18
      flake.nix
  4. 1
      result
  5. 5
      shell.nix

3
default.nix

@ -1,5 +1,4 @@
{ sources ? import ./nix/sources.nix
, pkgs ? import sources.nixpkgs {} }:
{ pkgs ? import <nixpkgs> }:
pkgs.stdenv.mkDerivation rec {
name = "perihelion";
version = "0.2.0";

43
flake.lock

@ -0,0 +1,43 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1622786510,
"narHash": "sha256-jVw4d5ovCMLFc/hF7EDuVIqR14LPekjbW3jWLB8rLiU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4c2e84394c0f372c019e941e95d6fbe21835719b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-21.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs",
"utils": "utils"
}
},
"utils": {
"locked": {
"lastModified": 1622445595,
"narHash": "sha256-m+JRe6Wc5OZ/mKw2bB3+Tl0ZbtyxxxfnAWln8Q5qs+Y=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "7d706970d94bc5559077eb1a6600afddcd25a7c8",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

18
flake.nix

@ -0,0 +1,18 @@
{
description = "a webring manager";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }@inputs:
utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
defaultPackage = import ./default.nix { inherit pkgs; };
devShell = import ./shell.nix { inherit pkgs; };
}
);
}

1
result

@ -1 +0,0 @@
/nix/store/ia14wczyqg0qh9xzr72r9c9kdmwpv6xy-perihelion

5
shell.nix

@ -1,7 +1,4 @@
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
in
{ pkgs ? import <nixpkgs> }:
pkgs.mkShell {
buildInputs = with pkgs; [
racket

Loading…
Cancel
Save