Skip to content

Commit

Permalink
Create some shells for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 9, 2024
1 parent a04aaea commit 129cd6f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 31 deletions.
4 changes: 2 additions & 2 deletions shells/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pkgs: {
python = import ./python.nix;
website = import ./website.nix;
python = import ./python.nix { inherit pkgs; };
website = import ./website.nix { inherit pkgs; };
}
37 changes: 8 additions & 29 deletions shells/website.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,10 @@
pkgs: {
# default = pkgs.callPackage ./csm/package.nix { };
default = pkgs.mkShell {
buildInputs = with pkgs; [
cmake
glib
stdenv.cc.cc.lib
zlib
];
{ pkgs }:
pkgs.mkShell {
buildInputs = with pkgs; [
hugo
];

shellHook = ''
# export LD_LIBRARY_PATH=${
pkgs.lib.makeLibraryPath [
pkgs.glib
pkgs.stdenv.cc.cc.lib
pkgs.zlib
]
}:''$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${
pkgs.lib.makeLibraryPath [
pkgs.glib
pkgs.stdenv.cc.cc.lib
pkgs.zlib
]
}
# https://github.com/python-poetry/poetry/issues/8623#issuecomment-1793624371
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
echo "Flake Env"
'';
};
shellHook = ''
echo "Hugo start..."
'';
}

0 comments on commit 129cd6f

Please sign in to comment.