mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 04:58:21 +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
|
let
|
||||||
python3WithPackages = pkgs.python3.withPackages(p:
|
python3WithPackages = pkgs.python3.withPackages(p:
|
||||||
with pkgs.python3Packages; [
|
with pkgs.python3Packages; [
|
||||||
pynvim
|
pynvim
|
||||||
|
jupyter
|
||||||
|
black
|
||||||
]);
|
]);
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
flow
|
||||||
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
gnuplot
|
gnuplot
|
||||||
graphviz
|
graphviz
|
||||||
lilypond
|
lilypond
|
||||||
nodejs-14_x
|
nodejs-16_x
|
||||||
octaveFull
|
octaveFull
|
||||||
python3WithPackages
|
python3WithPackages
|
||||||
racket
|
racket
|
||||||
|
Loading…
Reference in New Issue
Block a user