Compare commits

..

4 Commits

Author SHA1 Message Date
bf28af51a7 Remove dependency on flake-utils 2025-05-18 17:46:37 +02:00
5fd053f4c4 Revert "Run jupyter automatically in python datasci"
This reverts commit b5abb09507.
2023-04-20 10:13:15 +02:00
6fbe501f9a Add standard nix files and nix-ld 2022-10-20 10:56:51 +02:00
b5abb09507 Run jupyter automatically in python datasci 2022-10-20 10:56:51 +02:00
3 changed files with 40 additions and 0 deletions

23
flake-template.nix Normal file
View File

@@ -0,0 +1,23 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShells."${system}".default =
let
pkgs = import nixpkgs {
inherit system;
};
in
pkgs.mkShell {
packages = with pkgs; [
];
shellHook = "";
};
};
}

8
nix-ld.nix Normal file
View File

@@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc openssl ];
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
}

9
shell.nix Normal file
View File

@@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
buildInputs = [
];
}