mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 01:57:54 +00:00
Create Nix environment for the wiki
This commit is contained in:
parent
cde9112a9d
commit
f346bbc135
23
flake.lock
generated
Normal file
23
flake.lock
generated
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-Ctij+dOi0ZZIfX5eMhgwugfvB+WZSrvVNAyAuANOsnQ=",
|
||||
"path": "/nix/store/m2vv0bxfchzrjngx8wi0i7dhzb9q2g50-source",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
6
flake.nix
Normal file
6
flake.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
description = "The flake for this project.";
|
||||
outputs = inputs@{ self, nixpkgs, ... }: {
|
||||
devShell.x86_64-linux = import ./shell.nix { pkgs = import nixpkgs { system = "x86_64-linux"; }; };
|
||||
};
|
||||
}
|
@ -1,18 +1,22 @@
|
||||
{ pkgs ? import (fetchTarball "http://nixos.org/channels/nixos-21.05/nixexprs.tar.xz") {} }:
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
let
|
||||
python3WithPackages = pkgs.python3.withPackages(p:
|
||||
with pkgs.python3Packages; [
|
||||
pynvim
|
||||
jupyter
|
||||
black
|
||||
]);
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
flow
|
||||
gcc
|
||||
gnumake
|
||||
gnuplot
|
||||
graphviz
|
||||
lilypond
|
||||
nodejs-14_x
|
||||
nodejs-16_x
|
||||
octaveFull
|
||||
python3WithPackages
|
||||
racket
|
||||
|
Loading…
Reference in New Issue
Block a user