From c58d90262f7e090865af282861dc861c72f72bb1 Mon Sep 17 00:00:00 2001 From: Donn Date: Sun, 28 Apr 2024 13:15:37 +0300 Subject: [PATCH] update openlane 2 again --- docker/docker.nix | 8 ++++++-- flake.lock | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docker/docker.nix b/docker/docker.nix index 0ca1934a4..fd2793e27 100644 --- a/docker/docker.nix +++ b/docker/docker.nix @@ -63,12 +63,16 @@ in (createDockerImage { autoload -U compinit && compinit autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp autoload -U colors && colors - - export PATH="/openlane:${openlane1.computed_PATH}:\''$PATH" + export PS1=$'%{\033[31m%}OpenLane Container%{\033[0m%}:%{\033[32m%}%~%{\033[0m%}%% '; HEREDOC ''; + image-config-cwd = "/openlane"; image-config-cmd = ["${zsh}/bin/zsh"]; + image-config-extra-path = [ + "/openlane" + openlane1.computed_PATH + ]; image-config-extra-env = [ "LANG=C.UTF-8" "LC_ALL=C.UTF-8" diff --git a/flake.lock b/flake.lock index 636c1f435..9d3a17244 100644 --- a/flake.lock +++ b/flake.lock @@ -76,10 +76,10 @@ "nixpkgs": "nixpkgs" }, "locked": { - "narHash": "sha256-DB0E0yiE0sTVHilOCLhdAP9vx1BpCH1SaqZhXta2rSU=", + "narHash": "sha256-bWQBup5+iR6PgXVX7K8JMv9xeXgqpL9Zrpn+5vKHKBw=", "owner": "efabless", "repo": "openlane2", - "rev": "40a06364e82cd248c30e7958d3a543925c617d7a", + "rev": "821d3ef36f7db0653b7e0ffb7a4ea00f3ab6b700", "type": "github" }, "original": {