From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8IRBIWHI0GNvowAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 07:12:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MKpAIWHI0GP+YwAAauVa8A (envelope-from ) for ; Wed, 25 Jan 2023 07:12:49 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 19D351147E for ; Wed, 25 Jan 2023 07:12:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKZ1Q-0007Xi-8v; Wed, 25 Jan 2023 01:12:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKZ1O-0007XD-2W for help-guix@gnu.org; Wed, 25 Jan 2023 01:12:34 -0500 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKZ1J-0005Vu-P6 for help-guix@gnu.org; Wed, 25 Jan 2023 01:12:31 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a8df7820 for ; Wed, 25 Jan 2023 07:12:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:in-reply-to:references; s=20190914; bh=kV O5YE3VInV+Eyo4NeY+DHt7DuDWgPCJPBMh7Z7NxI8=; b=Tp4wNbKipwn3IiWP6G HftCeWpNIDp58qDKZ8WfWDTGsTNsrJ9ZfHv/tGoEbndQHW/X2xr3lgRczBEtZX+0 Lypqr9tsS6a61KpofojM2S6T7J6GtCyxC3R1l50ZnQmuTs/TILvEm8rbGT50BovY 1yf+IgonE5nA5Wx/AKU0oxa89+mpE2NBjlSyr1YukaAaMrjskDUrv3gdT+CLSv3J 9xfS2U2X/gyCiGHQdxekxnOACvh+/lulitsRrKeEcSPLEn0CEezXIIM6fo2ICCnh ckxVwIx58C9LLg+uc/6ygYvEA9FAo7Z5ExteCK+wWtt69SmFnE/+xMjUAxJWoQUD xH3g== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 5060ef9f for ; Wed, 25 Jan 2023 07:12:25 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id c9faa79a for ; Wed, 25 Jan 2023 07:12:25 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 1bc2126e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 25 Jan 2023 07:12:25 +0100 (CET) MIME-Version: 1.0 Date: Wed, 25 Jan 2023 06:12:24 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0a From: "jgart" Message-ID: <24876f2dbafc1bccac95e5867ce08e8d@dismail.de> Subject: Re: shebang for python script? To: help-guix@gnu.org In-Reply-To: References: Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674627169; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kVO5YE3VInV+Eyo4NeY+DHt7DuDWgPCJPBMh7Z7NxI8=; b=JbvxMvr8SaSLNco2v2lDeqeMT4gwwXGZB1UWSWjSvxicGl5aPvMnB4a4MkBUNN4BCN4cQN nMNWff+DlzkS14noHLdW/ZuoW5c2YOOBJzngJvQ1KFsLgkbhdk/zPIXMhQqpdmCVmV5LBa kVnRC2x1RosaNUT6w6paw33jXJ9/VImTEfGCO8qCHuWXYGwfnballcmOe+lyxEKCBrgZMt 9XuETk7IGZLouJVOdQ0NadtyhcI49Ih2MOGHvQjYn7XylWc+E7I0FB3lKHoDJBwbR5b8w8 vlJBm4Wma9GjLlLqoGzu+G8aD2ZC3ynkoxEdv19mIyTsecUESMUwNXGyY1atiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=Tp4wNbKi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674627169; a=rsa-sha256; cv=none; b=B2fHp+FNX/UqqQ7qlmy4aL6oaqeWUN7f4xv+rD2OqKUImTRMjprbIN7IMTyjwMSJstYViz EAA+zMLruzSL2iWr4ehPXceJdzqY4dfcu3Jjdvdrtez7PY42jEX91KEtvHjwTZy9NU57FA sR83KZPIE/Ct8Iq6ZAQlCTjyeWAH9JKPYkVDsh2PBqo+AdmjZKwgLKBIAp6zYdO5vu7fi5 Q+pQBH9QNtN8ke8L01FGJJf97yB/rKiyI3QSl9EF/fu2WaxYkD0137nwMlbHBfKP5UnB/Q ecMZegjzPV+2Ygm9oA7hrU9IziF68yws/WWtpD3jZvXtA/4JxuNwZWH0zdf1Pg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=Tp4wNbKi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de X-Migadu-Spam-Score: -4.95 X-Spam-Score: -4.95 X-Migadu-Queue-Id: 19D351147E X-TUID: MMnXGrUkTz/3 or this shebang pinned to a particular commit? #!/usr/bin/env nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.numpy ])" #!nix-shell -I nixpkgs=3Dhttps://github.com/NixOS/nixpkgs/archive/d373d80= b1207d52621961b16aa4a3438e4f98167.tar.gz import numpy as np a =3D np.array([1,2]) b =3D np.array([3,4]) print(f"The dot product of {a} and {b} is: {np.dot(a, b)}") https://ryantm.github.io/nixpkgs/languages-frameworks/python/