From 2bbbda58a5e2c56be6ad88ad3a296ec1b2a833fb Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 16 Nov 2022 13:02:42 -0500 Subject: configs housekeeping, minor --- org/config_nix.org | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'org/config_nix.org') diff --git a/org/config_nix.org b/org/config_nix.org index 4a637a4..a62990f 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -471,7 +471,7 @@ postInstall: - nix develop -- nix flake lock +- nix flake update - nix shell -f default.nix --print-build-logs - nix shell -c default.nix @@ -567,8 +567,20 @@ postInstall: packages.x86_64-linux.default = self.packages.x86_64-linux.spine; }; } + +#nix flake update +#nix flake check +#nix flake show +#nix develop +#nix build .#default --print-build-logs #+END_SRC +#+BEGIN_SRC nix +src = fetchTarball { + url = "file:///[path]/$(pname)-$(version).tar.gz"; + sha256 = "sha256:0000000000000000000000000000000000000000000000000000"; +}; +#+END_SRC #+HEADER: :noweb yes #+BEGIN_SRC nix { @@ -696,7 +708,7 @@ mkShell { #if [[ -f ".envrc" ]]; then # source .envrc #fi - nix flake lock --update-input nixpkgs + nix flake update echo "" echo "nix flake metadata:" nix flake metadata @@ -1402,7 +1414,7 @@ $SpineBIN/spine -v --cgi-search-form-codegen --config=$SpinePOD/.dr/config_local nix develop -nix flake lock +nix flake update #+HEADER: :tangle "../sundry/spine_search_cgi/flake.nix" #+HEADER: :noweb yes @@ -1642,7 +1654,7 @@ nixpkgs=<> #+NAME: project_path_local_project #+HEADER: :noweb yes #+BEGIN_SRC nix -/grotto-ra/repo/git.repo/projects/project-spine/doc-reform +~/grotto/repo/git.repo/projects/project-spine/doc-reform #+END_SRC #+NAME: project_path_local_src @@ -1664,7 +1676,7 @@ nixpkgs=<> #+NAME: project_path_local_doc #+BEGIN_SRC nix -/grotto-ra/repo/git.repo/projects/project-spine/doc-reform-markup/spine-markup-samples +~/grotto/repo/git.repo/projects/project-spine/doc-reform-markup/spine-markup-samples #+END_SRC #+NAME: project_path_local_out -- cgit v1.2.3